LML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://eclipse.org/ptp/lml
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations have no namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition

Declared Namespaces

Prefix Namespace
Default namespace http://www.w3.org/2001/XMLSchema
xml http://www.w3.org/XML/1998/namespace
lml http://eclipse.org/ptp/lml
Schema Component Representation
<schema targetNamespace="http://eclipse.org/ptp/lml">
<include schemaLocation="usagebar.xsd"/>
<include schemaLocation="lgui.xsd"/>
<include schemaLocation="scheme.xsd"/>
...
</schema>
top

Global Definitions

Complex Type: data_element

Super-types: lml:element_type < data_element (by extension)
Sub-types:
Name data_element
Abstract no
Documentation Abstract base-type for el-tags in data-tag. Could be used for special attributes, which only data-elements are allowed to include.
XML Instance Representation
<...
oid="NCName [0..1] ?"
name="NCName [0..1] ?"
description="string [0..1] ?"
status="string [0..1] ?"
refid="string [0..1]">
<usage> lml:usage_type </usage> [0..1] ?
</...>
Schema Component Representation
<complexType name="data_element">
<complexContent>
<extension base=" lml:element_type ">
<sequence>
<element name="usage" type=" lml:usage_type " minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="oid" type=" NCName "/>
<attribute name="name" type=" NCName "/>
<attribute name="description" type=" string "/>
<attribute name="status" type=" string "/>
<attribute name="refid" type=" string "/>
</extension>
</complexContent>
</complexType>
top

Complex Type: data_element1

Super-types: lml:element_type < data_element (by extension) < data_element1 (by extension)
Sub-types: None
Name data_element1
Abstract no
XML Instance Representation
<...
oid="NCName [0..1] ?"
name="NCName [0..1] ?"
description="string [0..1] ?"
status="string [0..1] ?"
refid="string [0..1]">
<usage> lml:usage_type </usage> [0..1] ?
<el2> lml:data_element2 </el2> [0..*]
</...>
Schema Component Representation
<complexType name="data_element1">
<complexContent>
<extension base=" lml:data_element ">
<sequence>
<element name="el2" type=" lml:data_element2 " maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: data_element10

Super-types: lml:element_type < data_element (by extension) < data_element10 (by extension)
Sub-types: None
Name data_element10
Abstract no
XML Instance Representation
<...
oid="NCName [0..1] ?"
name="NCName [0..1] ?"
description="string [0..1] ?"
status="string [0..1] ?"
refid="string [0..1]">
<usage> lml:usage_type </usage> [0..1] ?
</...>
Schema Component Representation
<complexType name="data_element10">
<complexContent>
<extension base=" lml:data_element "/>
</complexContent>
</complexType>
top

Complex Type: data_element2

Super-types: lml:element_type < data_element (by extension) < data_element2 (by extension)
Sub-types: None
Name data_element2
Abstract no
XML Instance Representation
<...
oid="NCName [0..1] ?"
name="NCName [0..1] ?"
description="string [0..1] ?"
status="string [0..1] ?"
refid="string [0..1]">
<usage> lml:usage_type </usage> [0..1] ?
<el3> lml:data_element3 </el3> [0..*]
</...>
Schema Component Representation
<complexType name="data_element2">
<complexContent>
<extension base=" lml:data_element ">
<sequence>
<element name="el3" type=" lml:data_element3 " maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: data_element3

Super-types: lml:element_type < data_element (by extension) < data_element3 (by extension)
Sub-types: None
Name data_element3
Abstract no
XML Instance Representation
<...
oid="NCName [0..1] ?"
name="NCName [0..1] ?"
description="string [0..1] ?"
status="string [0..1] ?"
refid="string [0..1]">
<usage> lml:usage_type </usage> [0..1] ?
<el4> lml:data_element4 </el4> [0..*]
</...>
Schema Component Representation
<complexType name="data_element3">
<complexContent>
<extension base=" lml:data_element ">
<sequence>
<element name="el4" type=" lml:data_element4 " maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: data_element4

Super-types: lml:element_type < data_element (by extension) < data_element4 (by extension)
Sub-types: None
Name data_element4
Abstract no
XML Instance Representation
<...
oid="NCName [0..1] ?"
name="NCName [0..1] ?"
description="string [0..1] ?"
status="string [0..1] ?"
refid="string [0..1]">
<usage> lml:usage_type </usage> [0..1] ?
<el5> lml:data_element5 </el5> [0..*]
</...>
Schema Component Representation
<complexType name="data_element4">
<complexContent>
<extension base=" lml:data_element ">
<sequence>
<element name="el5" type=" lml:data_element5 " maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: data_element5

Super-types: lml:element_type < data_element (by extension) < data_element5 (by extension)
Sub-types: None
Name data_element5
Abstract no
XML Instance Representation
<...
oid="NCName [0..1] ?"
name="NCName [0..1] ?"
description="string [0..1] ?"
status="string [0..1] ?"
refid="string [0..1]">
<usage> lml:usage_type </usage> [0..1] ?
<el6> lml:data_element6 </el6> [0..*]
</...>
Schema Component Representation
<complexType name="data_element5">
<complexContent>
<extension base=" lml:data_element ">
<sequence>
<element name="el6" type=" lml:data_element6 " maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: data_element6

Super-types: lml:element_type < data_element (by extension) < data_element6 (by extension)
Sub-types: None
Name data_element6
Abstract no
XML Instance Representation
<...
oid="NCName [0..1] ?"
name="NCName [0..1] ?"
description="string [0..1] ?"
status="string [0..1] ?"
refid="string [0..1]">
<usage> lml:usage_type </usage> [0..1] ?
<el7> lml:data_element7 </el7> [0..*]
</...>
Schema Component Representation
<complexType name="data_element6">
<complexContent>
<extension base=" lml:data_element ">
<sequence>
<element name="el7" type=" lml:data_element7 " maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: data_element7

Super-types: lml:element_type < data_element (by extension) < data_element7 (by extension)
Sub-types: None
Name data_element7
Abstract no
XML Instance Representation
<...
oid="NCName [0..1] ?"
name="NCName [0..1] ?"
description="string [0..1] ?"
status="string [0..1] ?"
refid="string [0..1]">
<usage> lml:usage_type </usage> [0..1] ?
<el8> lml:data_element8 </el8> [0..*]
</...>
Schema Component Representation
<complexType name="data_element7">
<complexContent>
<extension base=" lml:data_element ">
<sequence>
<element name="el8" type=" lml:data_element8 " maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: data_element8

Super-types: lml:element_type < data_element (by extension) < data_element8 (by extension)
Sub-types: None
Name data_element8
Abstract no
XML Instance Representation
<...
oid="NCName [0..1] ?"
name="NCName [0..1] ?"
description="string [0..1] ?"
status="string [0..1] ?"
refid="string [0..1]">
<usage> lml:usage_type </usage> [0..1] ?
<el9> lml:data_element9 </el9> [0..*]
</...>
Schema Component Representation
<complexType name="data_element8">
<complexContent>
<extension base=" lml:data_element ">
<sequence>
<element name="el9" type=" lml:data_element9 " maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: data_element9

Super-types: lml:element_type < data_element (by extension) < data_element9 (by extension)
Sub-types: None
Name data_element9
Abstract no
XML Instance Representation
<...
oid="NCName [0..1] ?"
name="NCName [0..1] ?"
description="string [0..1] ?"
status="string [0..1] ?"
refid="string [0..1]">
<usage> lml:usage_type </usage> [0..1] ?
<el10> lml:data_element10 </el10> [0..*]
</...>
Schema Component Representation
<complexType name="data_element9">
<complexContent>
<extension base=" lml:data_element ">
<sequence>
<element name="el10" type=" lml:data_element10 " maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: data_type

Super-types: None
Sub-types: None
Name data_type
Abstract no
XML Instance Representation
<...>
<el1> lml:data_element1 </el1> [1..*]
</...>
Schema Component Representation
<complexType name="data_type">
<sequence>
<element name="el1" type=" lml:data_element1 " maxOccurs="unbounded" minOccurs="1"/>
</sequence>
</complexType>
top

Complex Type: nodedisplay

Super-types: lml:gobject_type < nodedisplay (by extension)
Sub-types: None
Name nodedisplay
Abstract no
Documentation Representation of the overview about cpus and which jobs are running on which cpu/node. Designed as tree. Scheme-tag describes an empty batch-system, data-tag the actual situation in this system. Data-tag connects elements in the nodedisplay with jobs, which are running in the system.
XML Instance Representation
<...
refto="string [0..1]">
<scheme> lml:scheme_type
<!--
Key Constraint - schemetagKey
Selector - .//el
Field(s) - @tagname
-->
</scheme> [1]
<data> lml:data_type
<!--
Uniqueness Constraint - refidsUnique
Selector - .//*
Field(s) - @refid
-->
</data> [1]
</...>
Schema Component Representation
<complexType name="nodedisplay">
<complexContent>
<extension base=" lml:gobject_type ">
<sequence>
<element name="scheme" type=" lml:scheme_type ">
<-- defines unique tag-names within nodedisplay/scheme -->
<key name="schemetagKey">
<selector xpath=".//el"/>
<field xpath="@tagname"/>
</key>
</element>
<element name="data" type=" lml:data_type ">
<-- References to allowed tagnames within scheme-tag <keyref name="schemetagRef" refer="lml:schemetagKey"> <selector xpath=".//el"/> <field xpath="@tagname"/> </keyref>-->
<-- referenced implicit names can only be used once -->
<unique name="refidsUnique">
<selector xpath=".//*"/>
<field xpath="@refid"/>
</unique>
</element>
</sequence>
<attribute name="refto" type=" string "/>
</extension>
</complexContent>
</complexType>
top