Update schema to new version.
diff --git a/schemas/chart.xsd b/schemas/chart.xsd
index 1b43ad0..5800a2f 100644
--- a/schemas/chart.xsd
+++ b/schemas/chart.xsd
@@ -3,7 +3,7 @@
LML - LLView markup language
-Copyright (c) 2011 Forschungszentrum Juelich GmbH
+Copyright (c) 2011-2013 Forschungszentrum Juelich GmbH
All rights reserved. This program and the accompanying materials
@@ -13,7 +13,7 @@
http://www.eclipse.org/legal/epl-v10.html
-->
-<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://eclipse.org/ptp/schemas" targetNamespace="http://eclipse.org/ptp/schemas">
<include schemaLocation="lgui.xsd"/>
diff --git a/schemas/colors.xsd b/schemas/colors.xsd
index 6468318..3aea592 100644
--- a/schemas/colors.xsd
+++ b/schemas/colors.xsd
@@ -3,7 +3,7 @@
LML - LLView markup language
-Copyright (c) 2011 Forschungszentrum Juelich GmbH
+Copyright (c) 2011-2013 Forschungszentrum Juelich GmbH
All rights reserved. This program and the accompanying materials
@@ -13,7 +13,7 @@
http://www.eclipse.org/legal/epl-v10.html
-->
-<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" elementFormDefault="qualified" targetNamespace="http://www.llview.de">
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://eclipse.org/ptp/schemas" elementFormDefault="qualified" targetNamespace="http://eclipse.org/ptp/schemas">
<simpleType name="hexcolor_type">
<annotation>
diff --git a/schemas/entities.xsd b/schemas/entities.xsd
index e1d02f1..218d9bf 100644
--- a/schemas/entities.xsd
+++ b/schemas/entities.xsd
@@ -3,7 +3,7 @@
LML - LLView markup language
-Copyright (c) 2011 Forschungszentrum Juelich GmbH
+Copyright (c) 2011-2013 Forschungszentrum Juelich GmbH
All rights reserved. This program and the accompanying materials
@@ -13,7 +13,7 @@
http://www.eclipse.org/legal/epl-v10.html
-->
-<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://eclipse.org/ptp/schemas" targetNamespace="http://eclipse.org/ptp/schemas">
<include schemaLocation="colors.xsd"/>
@@ -60,15 +60,16 @@
</documentation>
</annotation>
<restriction base="string">
- <enumeration value="job"/>
- <enumeration value="node"/>
- <enumeration value="system"/>
- <enumeration value="queue"/>
- <enumeration value="scheduler"/>
- <enumeration value="class"/>
- <enumeration value="partition"/>
- <enumeration value="partmap"/>
- <enumeration value="smallpartition"/>
+ <enumeration value="job" />
+ <enumeration value="node" />
+ <enumeration value="system" />
+ <enumeration value="queue" />
+ <enumeration value="scheduler" />
+ <enumeration value="class" />
+ <enumeration value="partition" />
+ <enumeration value="partmap" />
+ <enumeration value="smallpartition" />
+ <enumeration value="reservation"></enumeration>
</restriction>
</simpleType>
diff --git a/schemas/layout.xsd b/schemas/layout.xsd
index 19a2430..8fc984c 100644
--- a/schemas/layout.xsd
+++ b/schemas/layout.xsd
@@ -3,7 +3,7 @@
LML - LLView markup language
-Copyright (c) 2011 Forschungszentrum Juelich GmbH
+Copyright (c) 2011-2013 Forschungszentrum Juelich GmbH
All rights reserved. This program and the accompanying materials
@@ -13,700 +13,933 @@
http://www.eclipse.org/legal/epl-v10.html
-->
-<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://eclipse.org/ptp/schemas"
+ targetNamespace="http://eclipse.org/ptp/schemas">
- <include schemaLocation="nodedisplay.xsd"/>
- <complexType name="splitlayout_type">
- <complexContent>
- <extension base="lml:layout_type">
- <choice>
- <sequence>
- <element name="left" type="lml:pane_type"/>
- <element name="right" type="lml:pane_type"/>
- </sequence>
- <sequence>
- <element name="top" type="lml:pane_type"/>
- <element name="bottom" type="lml:pane_type"/>
- </sequence>
- </choice>
- <attribute default="0.5" name="divpos" type="lml:divpos_type"/>
- </extension>
- </complexContent>
- </complexType>
+ <include schemaLocation="colors.xsd" />
+ <include schemaLocation="scheme.xsd" />
+ <include schemaLocation="request.xsd" />
+
+ <complexType name="splitlayout_type">
+ <complexContent>
+ <extension base="lml:layout_type">
+ <choice>
+ <sequence>
+ <element name="left" type="lml:pane_type" />
+ <element name="right" type="lml:pane_type" />
+ </sequence>
+ <sequence>
+ <element name="top" type="lml:pane_type" />
+ <element name="bottom" type="lml:pane_type" />
+ </sequence>
+ </choice>
+ <attribute default="0.5" name="divpos" type="lml:divpos_type" />
+ </extension>
+ </complexContent>
+ </complexType>
- <complexType name="pane_type">
- <annotation>
- <documentation>
- Describes one side of a splitpane. This tag is later
- transformed into a panel. You can split one panel with
- left and right-components or top and bottom-components.
- First split will cause a horizontal split, second will
- cause a vertical split. The gid-attribute is for
- referencing graphical object-id-attributes. If there are
- child-elements for a pane, gid must not be specified.
- Through the divpos-element you are able to set the
- percentage of where to put the divider.
- </documentation>
- </annotation>
- <sequence>
- <sequence maxOccurs="1" minOccurs="0">
- <element name="left" type="lml:pane_type"/>
- <element name="right" type="lml:pane_type"/>
- </sequence>
- <sequence maxOccurs="1" minOccurs="0">
- <element name="top" type="lml:pane_type"/>
- <element name="bottom" type="lml:pane_type"/>
- </sequence>
- </sequence>
- <attribute name="gid" type="string"/>
- <attribute default="0.5" name="divpos" type="lml:divpos_type"/>
- </complexType>
+ <complexType name="pane_type">
+ <annotation>
+ <documentation>
+ Describes one side of a splitpane. This tag is later
+ transformed into a panel. You can split one panel with
+ left and right-components or top and bottom-components.
+ First split will cause a horizontal split, second will
+ cause a vertical split. The gid-attribute is for
+ referencing graphical object-id-attributes. If there are
+ child-elements for a pane, gid must not be specified.
+ Through the divpos-element you are able to set the
+ percentage of where to put the divider.
+ </documentation>
+ </annotation>
+ <sequence>
+ <sequence maxOccurs="1" minOccurs="0">
+ <element name="left" type="lml:pane_type" />
+ <element name="right" type="lml:pane_type" />
+ </sequence>
+ <sequence maxOccurs="1" minOccurs="0">
+ <element name="top" type="lml:pane_type" />
+ <element name="bottom" type="lml:pane_type" />
+ </sequence>
+ </sequence>
+ <attribute name="gid" type="string" />
+ <attribute default="0.5" name="divpos" type="lml:divpos_type" />
+ </complexType>
- <simpleType name="divpos_type">
- <restriction base="double">
- <minInclusive value="0"/>
- <maxInclusive value="1"/>
- </restriction>
- </simpleType>
+ <simpleType name="divpos_type">
+ <restriction base="double">
+ <minInclusive value="0" />
+ <maxInclusive value="1" />
+ </restriction>
+ </simpleType>
- <complexType name="layout_type">
- <annotation>
- <documentation>All layout-types should extend this type</documentation>
- </annotation>
- <attribute name="id" type="string" use="required"/>
- </complexType>
+ <complexType name="layout_type">
+ <annotation>
+ <documentation>All layout-types should extend this type
+ </documentation>
+ </annotation>
+ <attribute name="id" type="string" use="required" />
+ </complexType>
- <complexType name="abslayout_type">
- <annotation>
- <documentation>
- Describes a layout with absolute coordinates. Every
- component must be added by a comp-tag.
- </documentation>
- </annotation>
- <complexContent>
- <extension base="lml:layout_type">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="1" name="comp" type="lml:component_type"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="component_type">
- <annotation>
- <documentation>Describes the absolute position of one graphical object</documentation>
- </annotation>
- <attribute name="gid" type="string" use="required">
- <annotation>
- <documentation>connection to a graphical object</documentation>
- </annotation>
-</attribute>
- <attribute name="x" type="integer" use="required">
- <annotation>
- <documentation>left coordinate</documentation>
- </annotation>
-</attribute>
- <attribute name="y" type="integer" use="required">
- <annotation>
- <documentation>upper coordinate</documentation>
- </annotation>
-</attribute>
- <attribute default="100" name="w" type="nonNegativeInteger">
- <annotation>
- <documentation>width</documentation>
- </annotation>
-</attribute>
- <attribute default="100" name="h" type="nonNegativeInteger">
- <annotation>
- <documentation>height</documentation>
- </annotation>
-</attribute>
- </complexType>
+ <complexType name="abslayout_type">
+ <annotation>
+ <documentation>
+ Describes a layout with absolute coordinates. Every
+ component must be added by a comp-tag.
+ </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:layout_type">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="1" name="comp"
+ type="lml:component_type" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
- <complexType name="nodedisplaylayout_type">
- <annotation>
- <documentation>Settings will not be inherited through hierarchy, but default layout will be set for all scheme-elements, which are not defined</documentation>
- </annotation>
- <complexContent>
- <extension base="lml:componentlayout_type">
- <sequence>
- <element name="el0" type="lml:nodedisplayelement0"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
+ <complexType name="component_type">
+ <annotation>
+ <documentation>Describes the absolute position of one graphical
+ object</documentation>
+ </annotation>
+ <attribute name="gid" type="string" use="required">
+ <annotation>
+ <documentation>connection to a graphical object</documentation>
+ </annotation>
+ </attribute>
+ <attribute name="x" type="integer" use="required">
+ <annotation>
+ <documentation>left coordinate</documentation>
+ </annotation>
+ </attribute>
+ <attribute name="y" type="integer" use="required">
+ <annotation>
+ <documentation>upper coordinate</documentation>
+ </annotation>
+ </attribute>
+ <attribute default="100" name="w" type="nonNegativeInteger">
+ <annotation>
+ <documentation>width</documentation>
+ </annotation>
+ </attribute>
+ <attribute default="100" name="h" type="nonNegativeInteger">
+ <annotation>
+ <documentation>height</documentation>
+ </annotation>
+ </attribute>
+ </complexType>
- <complexType name="componentlayout_type">
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- identification for this component
- </documentation>
- </annotation>
- </attribute>
- <attribute name="gid" type="string" use="required">
- <annotation>
- <documentation>
- reference to the graphical object. Layout for the
- graphical object is defined within this tag
- </documentation>
- </annotation>
- </attribute>
- <attribute default="true" name="active" type="boolean">
- <annotation>
- <documentation>Defines if this component is active. If active is false, then no data for this graphical component has to be passed. This can be used for requesting information from server. Not active-components do not have to be filled with data from the server.</documentation>
- </annotation>
-</attribute>
- </complexType>
+ <complexType name="nodedisplaylayout_type">
+ <annotation>
+ <documentation>Settings will not be inherited through hierarchy, but
+ default layout will be set for all scheme-elements, which are not
+ defined</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:componentlayout_type">
+ <sequence>
+ <element name="schemehint" type="lml:scheme_type"
+ minOccurs="0" maxOccurs="1">
+ <annotation>
+ <documentation>Allows to configure a hint for LML_da about the
+ expected architecture of the supercomputer.
+ This scheme might be used by LML_da as scheme in the corresponding
+ nodedisplay.
+ The schemehint at this location avoids that a nodedisplay tag has
+ to be added to an
+ LML request.
+ </documentation>
+ </annotation>
+ </element>
+ <element name="el0" type="lml:nodedisplayelement0" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
- <complexType name="nodedisplayelement">
- <annotation>
- <documentation>
- Contains all attributes that are equal at all levels
- </documentation>
- </annotation>
- <complexContent>
- <extension base="lml:element_type">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="img" type="lml:picture_type">
- </element>
- </sequence>
- <attribute default="0" name="rows" type="nonNegativeInteger">
- <annotation>
- <documentation>
- Amount of rows of lower elements
- </documentation>
- </annotation>
- </attribute>
- <attribute default="8" name="cols" type="nonNegativeInteger">
- <annotation>
- <documentation>
- Amount of columns of lower elements. This attribute must be defined. It has a higher priority than rows.
- </documentation>
- </annotation>
- </attribute>
- <attribute default="1" name="hgap" type="nonNegativeInteger">
- <annotation>
- <documentation>
- horizontal space between two lower element
- </documentation>
- </annotation>
- </attribute>
- <attribute default="1" name="vgap" type="nonNegativeInteger">
- <annotation>
- <documentation>
- vertical space between two lower elements
- </documentation>
- </annotation>
- </attribute>
- <attribute default="10" name="fontsize" type="nonNegativeInteger">
- <annotation>
- <documentation>
- size of fonts printed in this element (for
- example a title)
- </documentation>
- </annotation>
- </attribute>
- <attribute default="1" name="border" type="nonNegativeInteger">
- <annotation>
- <documentation>
- pixels printed for a border around
- rectangles
- </documentation>
- </annotation>
- </attribute>
- <attribute default="Monospaced" name="fontfamily" type="string">
- <annotation>
- <documentation>
- Font used for title
- </documentation>
- </annotation>
- </attribute>
- <attribute default="false" name="showtitle" type="boolean">
- <annotation>
- <documentation>
- if true => title for elements of this level
- are shown, otherwise title is hidden
- </documentation>
- </annotation>
- </attribute>
- <attribute default="#EFEFEF" name="titlebackground" type="lml:hexcolor_type">
- <annotation>
- <documentation>
- background-color for title-label
- </documentation>
- </annotation>
- </attribute>
- <attribute default="#FFF" name="background" type="lml:hexcolor_type">
- <annotation>
- <documentation>
- background-color for this element
- </documentation>
- </annotation>
- </attribute>
- <attribute name="maxlevel" type="nonNegativeInteger">
- <annotation>
- <documentation>
- maximum of levels which are printed in
- output, absolute value (maxlevel=3 means all
- elements till level 3 included are printed)
- </documentation>
- </annotation>
- </attribute>
- <attribute default="2" name="mouseborder" type="nonNegativeInteger">
- <annotation>
- <documentation>
- border printed when mouse-over this
- component
- </documentation>
- </annotation>
- </attribute>
- <attribute default="true" name="transparent" type="boolean">
- <annotation>
- <documentation>
- Defines if this panel is drawn
- transparently. Upper-level paintings can
- then be seen. If transparent == false => the
- whole rectangle is painted by the specific
- panel on its own.
- </documentation>
- </annotation>
- </attribute>
- <attribute default="#000" name="bordercolor" type="lml:hexcolor_type">
- <annotation>
- <documentation>
- Color of the border around inner panels.
- </documentation>
- </annotation>
- </attribute>
- <attribute default="true" name="showfulltitle" type="boolean">
- <annotation>
- <documentation>
- If true full implicit name over all levels
- of tree is shown, otherwise implicit name is
- only generated over current level
- </documentation>
- </annotation>
- </attribute>
- <attribute default="false" name="highestrowfirst" type="boolean">
- <annotation>
- <documentation>Defines the input order of rows within nodedisplaypanel. if true, the row with the highest id is inserted first</documentation>
- </annotation>
-</attribute>
- <attribute default="false" name="highestcolfirst" type="boolean">
- <annotation>
- <documentation>Defines the input order of columns within nodedisplaypanel. if true, the column with the highest id is inserted first. Then the first cell within a panel has the highest id of the whole row.</documentation>
- </annotation>
-</attribute>
- </extension>
- </complexContent>
- </complexType>
+ <complexType name="componentlayout_type">
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+ identification for this component
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="gid" type="string" use="required">
+ <annotation>
+ <documentation>
+ reference to the graphical object. Layout for the
+ graphical object is defined within this tag
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="true" name="active" type="boolean">
+ <annotation>
+ <documentation>Defines if this component is active. If active is
+ false, then no data for this graphical component has to be passed.
+ This can be used for requesting information from server. Not
+ active-components do not have to be filled with data from the
+ server.</documentation>
+ </annotation>
+ </attribute>
+ </complexType>
- <complexType name="picture_type">
- <annotation>
- <documentation>
- describes a picture, which can be aligned
- </documentation>
- </annotation>
- <attribute name="src" type="anyURI" use="required">
- <annotation>
- <documentation>
- location where to find the picture, only pictures on
- the same webserver where the applet lies are allowed
- </documentation>
- </annotation>
- </attribute>
- <attribute default="CENTER" name="align" type="lml:align_type">
- <annotation>
- <documentation>Position of the picture</documentation>
- </annotation>
- </attribute>
- <attribute default="0.1" name="width" type="lml:percent_type">
- <annotation>
- <documentation>
- width of the picture in percent corresponding to
- surrounding panel
- </documentation>
- </annotation>
- </attribute>
- <attribute default="0.1" name="height" type="lml:percent_type">
- <annotation>
- <documentation>
- height of the picture in percent corresponding to
- surrounding panel
- </documentation>
- </annotation>
- </attribute>
- <attribute default="CENTER" name="inneralign" type="lml:align_type">
- <annotation>
- <documentation>align is for positioning the image around the display-panel of one physical element. inner-align is for positioning the picture within its rectangle</documentation>
- </annotation>
-</attribute>
- </complexType>
-
- <complexType name="nodedisplayelement0">
- <complexContent>
- <extension base="lml:nodedisplayelement">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el1" type="lml:nodedisplayelement1"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="nodedisplayelement1">
- <complexContent>
- <extension base="lml:nodedisplayelement">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el2" type="lml:nodedisplayelement2"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="nodedisplayelement2">
- <complexContent>
- <extension base="lml:nodedisplayelement">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el3" type="lml:nodedisplayelement3"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="nodedisplayelement3">
- <complexContent>
- <extension base="lml:nodedisplayelement">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el4" type="lml:nodedisplayelement4"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="nodedisplayelement4">
- <complexContent>
- <extension base="lml:nodedisplayelement">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el5" type="lml:nodedisplayelement5"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="nodedisplayelement5">
- <complexContent>
- <extension base="lml:nodedisplayelement">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el6" type="lml:nodedisplayelement6"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="nodedisplayelement6">
- <complexContent>
- <extension base="lml:nodedisplayelement">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el7" type="lml:nodedisplayelement7"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="nodedisplayelement7">
- <complexContent>
- <extension base="lml:nodedisplayelement">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el8" type="lml:nodedisplayelement8"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="nodedisplayelement8">
- <complexContent>
- <extension base="lml:nodedisplayelement">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el9" type="lml:nodedisplayelement9"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="nodedisplayelement9">
- <complexContent>
- <extension base="lml:nodedisplayelement">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el10" type="lml:nodedisplayelement"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
+ <simpleType name="layout_list_type">
+ <annotation>
+ <documentation>Type for list-attribute in scheme- or data-tag. It
+ allowes the definition of several positive integer-values seperated
+ by commas.</documentation>
+ </annotation>
+ <restriction base="string">
+ <pattern value="\s*\d+\s*(\s*,\s*\d+)*" />
+ </restriction>
+ </simpleType>
- <simpleType name="align_type">
- <restriction base="string">
- <enumeration value="WEST"/>
- <enumeration value="EAST"/>
- <enumeration value="NORTH"/>
- <enumeration value="SOUTH"/>
- <enumeration value="CENTER"/>
- </restriction>
- </simpleType>
+ <complexType name="nodedisplayelement">
+ <annotation>
+ <documentation>
+ Contains all attributes that are equal at all levels
+ </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:element_type">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="img"
+ type="lml:picture_type">
+ </element>
+ </sequence>
+ <attribute default="0" name="rows" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ Amount of rows of lower elements
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="8" name="cols" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ Amount of columns of lower elements. This attribute must be defined. It
+ has a higher priority than rows.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="1" name="hgap" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ horizontal space between two lower element
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="1" name="vgap" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ vertical space between two lower elements
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="10" name="fontsize" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ size of fonts printed in this element (for
+ example a title)
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="1" name="border" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ pixels printed for a border around
+ rectangles
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="Monospaced" name="fontfamily" type="string">
+ <annotation>
+ <documentation>
+ Font used for title
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="false" name="showtitle" type="boolean">
+ <annotation>
+ <documentation>
+ if true => title for elements of this level
+ are shown, otherwise title is hidden
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="#EFEFEF" name="titlebackground" type="lml:hexcolor_type">
+ <annotation>
+ <documentation>
+ background-color for title-label
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="#FFF" name="background" type="lml:hexcolor_type">
+ <annotation>
+ <documentation>
+ background-color for this element
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="maxlevel" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ maximum of levels which are printed in
+ output, absolute value (maxlevel=3 means all
+ elements till level 3 included are printed)
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="2" name="mouseborder" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ border printed when mouse-over this
+ component
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="true" name="transparent" type="boolean">
+ <annotation>
+ <documentation>
+ Defines if this panel is drawn
+ transparently. Upper-level paintings can
+ then be seen. If transparent == false => the
+ whole rectangle is painted by the specific
+ panel on its own.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="#000" name="bordercolor" type="lml:hexcolor_type">
+ <annotation>
+ <documentation>
+ Color of the border around inner panels.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="true" name="showfulltitle" type="boolean">
+ <annotation>
+ <documentation>
+ If true full implicit name over all levels
+ of tree is shown, otherwise implicit name is
+ only generated over current level
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="false" name="highestrowfirst" type="boolean">
+ <annotation>
+ <documentation>Defines the input order of rows within
+ nodedisplaypanel. if true, the row with the highest id is
+ inserted first</documentation>
+ </annotation>
+ </attribute>
+ <attribute default="false" name="highestcolfirst" type="boolean">
+ <annotation>
+ <documentation>Defines the input order of columns within
+ nodedisplaypanel. if true, the column with the highest id is
+ inserted first. Then the first cell within a panel has the
+ highest id of the whole row.</documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
- <simpleType name="percent_type">
- <restriction base="double">
- <minInclusive value="0"/>
- <maxInclusive value="1"/>
- </restriction>
- </simpleType>
+ <complexType name="picture_type">
+ <annotation>
+ <documentation>
+ describes a picture, which can be aligned
+ </documentation>
+ </annotation>
+ <attribute name="src" type="anyURI" use="required">
+ <annotation>
+ <documentation>
+ location where to find the picture, only pictures on
+ the same webserver where the applet lies are allowed
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="CENTER" name="align" type="lml:align_type">
+ <annotation>
+ <documentation>Position of the picture</documentation>
+ </annotation>
+ </attribute>
+ <attribute default="0.1" name="width" type="lml:percent_type">
+ <annotation>
+ <documentation>
+ width of the picture in percent corresponding to
+ surrounding panel
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="0.1" name="height" type="lml:percent_type">
+ <annotation>
+ <documentation>
+ height of the picture in percent corresponding to
+ surrounding panel
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="CENTER" name="inneralign" type="lml:align_type">
+ <annotation>
+ <documentation>align is for positioning the image around the
+ display-panel of one physical element. inner-align is for
+ positioning the picture within its rectangle</documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+
+ <complexType name="nodedisplayelement0">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el1"
+ type="lml:nodedisplayelement1" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="nodedisplayelement1">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el2"
+ type="lml:nodedisplayelement2" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="nodedisplayelement2">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el3"
+ type="lml:nodedisplayelement3" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="nodedisplayelement3">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el4"
+ type="lml:nodedisplayelement4" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="nodedisplayelement4">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el5"
+ type="lml:nodedisplayelement5" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="nodedisplayelement5">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el6"
+ type="lml:nodedisplayelement6" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="nodedisplayelement6">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el7"
+ type="lml:nodedisplayelement7" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="nodedisplayelement7">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el8"
+ type="lml:nodedisplayelement8" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="nodedisplayelement8">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el9"
+ type="lml:nodedisplayelement9" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="nodedisplayelement9">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el10"
+ type="lml:nodedisplayelement" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
- <complexType name="usagebarlayout_type">
- <annotation>
- <documentation>
- Define special layout-options for a usagebar
- </documentation>
- </annotation>
- <complexContent>
- <extension base="lml:componentlayout_type">
- <attribute default="nodes" name="scale">
- <annotation>
- <documentation>
- defines which scale should be used. "nodes"
- means the scale will be displayed in the
- unit nodes, "cpus" means the scale will show
- cpus as unit
- </documentation>
- </annotation>
- <simpleType>
- <restriction base="string">
- <enumeration value="nodes"/>
- <enumeration value="cpus"/>
- </restriction>
- </simpleType>
- </attribute>
- <attribute default="4" name="interval" type="positiveInteger">
- <annotation>
- <documentation>defines the distance between two scale-lines, in other words two tics on the axis</documentation>
- </annotation>
-</attribute>
- </extension>
- </complexContent>
- </complexType>
+ <simpleType name="align_type">
+ <restriction base="string">
+ <enumeration value="WEST" />
+ <enumeration value="EAST" />
+ <enumeration value="NORTH" />
+ <enumeration value="SOUTH" />
+ <enumeration value="CENTER" />
+ </restriction>
+ </simpleType>
- <complexType name="chartlayout_type">
- <annotation>
- <documentation>
- Definition of layout-tag for charts
- </documentation>
- </annotation>
- <complexContent>
- <extension base="lml:componentlayout_type">
- <attribute default="0" name="border" type="nonNegativeInteger">
- <annotation>
- <documentation>
- border in pixels, which is painted around
- every bar of a chart
- </documentation>
- </annotation>
- </attribute>
- <attribute default="true" name="showlegend" type="boolean">
- <annotation>
- <documentation>
- if true, legend is shown, otherwise no
- legend is painted
- </documentation>
- </annotation>
- </attribute>
- <attribute default="#FFF" name="backgroundcolor" type="lml:hexcolor_type">
- <annotation>
- <documentation>
- Background-color of the chart, usually white
- </documentation>
- </annotation>
- </attribute>
- <attribute default="#AAA" name="innerbackgroundcolor" type="lml:hexcolor_type">
- <annotation>
- <documentation>
- background-color of rectangle, in which the
- main diagram is painted
- </documentation>
- </annotation>
- </attribute>
- <attribute default="#555" name="axescolor" type="lml:hexcolor_type">
- <annotation>
- <documentation>Color of axes</documentation>
- </annotation>
- </attribute>
- <attribute default="#000" name="bordercolor" type="lml:hexcolor_type">
- <annotation>
- <documentation>
- color of borders around rectangles painted
- inside the diagram
- </documentation>
- </annotation>
- </attribute>
- <attribute default="#555" name="gridcolor" type="lml:hexcolor_type">
- <annotation>
- <documentation>
- Color of gridlines, which are painted at
- every tic if wanted
- </documentation>
- </annotation>
- </attribute>
- <attribute default="true" name="cutpaint" type="boolean">
- <annotation>
- <documentation>If true, rects and bars outside the diagrams view are not displayed, otherwise rects are painted outside the diagram area if needed</documentation>
- </annotation>
-</attribute>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="tablelayout_type">
- <annotation>
- <documentation>Layout for a table</documentation>
- </annotation>
- <complexContent>
- <extension base="lml:componentlayout_type">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="column" type="lml:columnlayout_type"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="columnlayout_type">
- <annotation>
- <documentation>
- Layout-definitions for exactly one column of a table.
- Defines where to position the column, width and if this
- column is sorted
- </documentation>
- </annotation>
- <attribute name="cid" type="positiveInteger" use="required">
- <annotation>
- <documentation>
- Reference to the data-column of the table, for which
- this component defines the layout
- </documentation>
- </annotation>
- </attribute>
- <attribute name="pos" type="nonNegativeInteger">
- <annotation>
- <documentation>
- Position of this column among all other columns.
- This attribute begins with 0. If position is not
- defined, the applet can decide where to put the
- column. Usually it will keep the order defined by
- the data-part of this table.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="width">
- <annotation>
- <documentation>
- Width of this column in percent corresponding to the
- width of the panel, which shows this table.
- </documentation>
- </annotation>
- <simpleType>
- <restriction base="double">
- <minInclusive value="0"/>
- <maxInclusive value="1"/>
- </restriction>
- </simpleType>
- </attribute>
- <attribute default="false" name="sorted" type="lml:columnsortedtype">
- <annotation>
- <documentation>
- Defines if the table-content is sorted by this
- column.
- </documentation>
- </annotation>
- </attribute>
- <attribute default="true" name="active" type="boolean">
- <annotation>
- <documentation>
- This attribute defines if this column should be
- shown. If not data for this column must not be
- transmitted for data-transmission reduction.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="key" type="string">
- <annotation>
- <documentation>Defines the name of an attribute, which is shown in the table in this column. This is comparable with the name-attribute within the table-tag. The values do not have to be equal. The key-attribute is needed</documentation>
- </annotation>
-</attribute>
- </complexType>
+ <simpleType name="percent_type">
+ <restriction base="double">
+ <minInclusive value="0" />
+ <maxInclusive value="1" />
+ </restriction>
+ </simpleType>
- <simpleType name="columnsortedtype">
- <restriction base="string">
- <enumeration value="asc"/>
- <enumeration value="desc"/>
- <enumeration value="false"/>
- </restriction>
- </simpleType>
+ <complexType name="usagebarlayout_type">
+ <annotation>
+ <documentation>
+ Define special layout-options for a usagebar
+ </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:componentlayout_type">
+ <attribute default="nodes" name="scale">
+ <annotation>
+ <documentation>
+ defines which scale should be used. "nodes"
+ means the scale will be displayed in the
+ unit nodes, "cpus" means the scale will show
+ cpus as unit
+ </documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="nodes" />
+ <enumeration value="cpus" />
+ </restriction>
+ </simpleType>
+ </attribute>
+ <attribute default="4" name="interval" type="positiveInteger">
+ <annotation>
+ <documentation>defines the distance between two scale-lines, in
+ other words two tics on the axis</documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
- <complexType name="infoboxlayout_type">
- <complexContent>
- <extension base="lml:componentlayout_type">
- <sequence>
- <element maxOccurs="1" minOccurs="0" name="typecol" type="lml:infoboxlayout_coltype">
- <annotation>
- <documentation>this element defines properties for the column containing the keys of information</documentation>
- </annotation>
- </element>
- <element maxOccurs="1" minOccurs="0" name="infocol" type="lml:infoboxlayout_coltype">
- <annotation>
- <documentation>this element defines properties for the column containing the values of information</documentation>
- </annotation>
-</element>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
+ <complexType name="chartlayout_type">
+ <annotation>
+ <documentation>
+ Definition of layout-tag for charts
+ </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:componentlayout_type">
+ <attribute default="0" name="border" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ border in pixels, which is painted around
+ every bar of a chart
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="true" name="showlegend" type="boolean">
+ <annotation>
+ <documentation>
+ if true, legend is shown, otherwise no
+ legend is painted
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="#FFF" name="backgroundcolor" type="lml:hexcolor_type">
+ <annotation>
+ <documentation>
+ Background-color of the chart, usually white
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="#AAA" name="innerbackgroundcolor"
+ type="lml:hexcolor_type">
+ <annotation>
+ <documentation>
+ background-color of rectangle, in which the
+ main diagram is painted
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="#555" name="axescolor" type="lml:hexcolor_type">
+ <annotation>
+ <documentation>Color of axes</documentation>
+ </annotation>
+ </attribute>
+ <attribute default="#000" name="bordercolor" type="lml:hexcolor_type">
+ <annotation>
+ <documentation>
+ color of borders around rectangles painted
+ inside the diagram
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="#555" name="gridcolor" type="lml:hexcolor_type">
+ <annotation>
+ <documentation>
+ Color of gridlines, which are painted at
+ every tic if wanted
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="true" name="cutpaint" type="boolean">
+ <annotation>
+ <documentation>If true, rects and bars outside the diagrams view
+ are not displayed, otherwise rects are painted outside the
+ diagram area if needed</documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
- <complexType name="infoboxlayout_coltype">
- <attribute name="pos" type="lml:integer01type">
- <annotation>
- <documentation>
- position of column in view
- </documentation>
- </annotation>
- </attribute>
- <attribute default="0.5" name="width">
- <annotation>
- <documentation>
- width of column in percent
- </documentation>
- </annotation>
- <simpleType>
- <restriction base="double">
- <minInclusive value="0"/>
- <maxInclusive value="1"/>
- </restriction>
- </simpleType>
- </attribute>
- <attribute default="false" name="sorted" type="lml:columnsortedtype">
- <annotation>
- <documentation>defines if infos are sorted by this column</documentation>
- </annotation>
-</attribute>
- </complexType>
+ <complexType name="tablelayout_type">
+ <annotation>
+ <documentation>Layout for a table</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:componentlayout_type">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0"
+ name="column" type="lml:columnlayout_type" />
+ </sequence>
+ <attribute name="contenthint" type="lml:content_type" default="other">
+ <annotation>
+ <documentation>Hint for the server about the requested type of data.</documentation>
+ </annotation></attribute>
+ </extension>
+ </complexContent>
+ </complexType>
- <simpleType name="integer01type">
- <annotation>
- <documentation>integer values, where only e aus [0,1] is allowed ={0,1}, is used for infoboxlayout_coltype</documentation>
- </annotation>
- <restriction base="nonNegativeInteger">
- <minInclusive value="0"/>
- <maxInclusive value="1"/>
- </restriction>
- </simpleType>
+ <complexType name="columnlayout_type">
+ <annotation>
+ <documentation>
+ Layout-definitions for exactly one column of a table.
+ Defines where to position the column, width and if this
+ column is sorted
+ </documentation>
+ </annotation>
+ <sequence>
+ <element name="pattern" type="lml:pattern_type" minOccurs="0"
+ maxOccurs="1">
+ <annotation>
+ <documentation>The pattern-tag defines regular expressions,
+ which describe the allowed values of a column.
+ For a status-column in a job-table you could
+ define, that values of this column are taken
+ from {RUNNING, SUSPENDED, STOPPED}. This is also
+ used to insert new jobs into job-tables. If a
+ job is "running" and the status-column allows
+ running jobs, this job should be inserted into
+ this table.
+ </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ <attribute name="cid" type="positiveInteger" use="required">
+ <annotation>
+ <documentation>
+ Reference to the data-column of the table, for which
+ this component defines the layout
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="pos" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ Position of this column among all other columns.
+ This attribute begins with 0. If position is not
+ defined, the applet can decide where to put the
+ column. Usually it will keep the order defined by
+ the data-part of this table.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="width">
+ <annotation>
+ <documentation>
+ Width of this column in percent corresponding to the
+ width of the panel, which shows this table.
+ </documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="double">
+ <minInclusive value="0" />
+ <maxInclusive value="1" />
+ </restriction>
+ </simpleType>
+ </attribute>
+ <attribute default="false" name="sorted" type="lml:columnsortedtype">
+ <annotation>
+ <documentation>
+ Defines if the table-content is sorted by this
+ column.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="true" name="active" type="boolean">
+ <annotation>
+ <documentation>
+ This attribute defines if this column should be
+ shown. If not data for this column must not be
+ transmitted for data-transmission reduction.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="key" type="string">
+ <annotation>
+ <documentation>
+ Defines the name of an attribute, which is shown in
+ the table in this column. This is comparable with
+ the name-attribute within the table-tag. The values
+ do not have to be equal. The key-attribute is needed
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+
+
+ <simpleType name="columnsortedtype">
+ <restriction base="string">
+ <enumeration value="asc" />
+ <enumeration value="desc" />
+ <enumeration value="false" />
+ </restriction>
+ </simpleType>
+
+ <complexType name="infoboxlayout_type">
+ <complexContent>
+ <extension base="lml:componentlayout_type">
+ <sequence>
+ <element maxOccurs="1" minOccurs="0" name="typecol"
+ type="lml:infoboxlayout_coltype">
+ <annotation>
+ <documentation>this element defines properties for the column
+ containing the keys of information</documentation>
+ </annotation>
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="infocol"
+ type="lml:infoboxlayout_coltype">
+ <annotation>
+ <documentation>this element defines properties for the column
+ containing the values of information</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="infoboxlayout_coltype">
+ <attribute name="pos" type="lml:integer01type">
+ <annotation>
+ <documentation>
+ position of column in view
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="0.5" name="width">
+ <annotation>
+ <documentation>
+ width of column in percent
+ </documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="double">
+ <minInclusive value="0" />
+ <maxInclusive value="1" />
+ </restriction>
+ </simpleType>
+ </attribute>
+ <attribute default="false" name="sorted" type="lml:columnsortedtype">
+ <annotation>
+ <documentation>defines if infos are sorted by this column
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+
+ <simpleType name="integer01type">
+ <annotation>
+ <documentation>integer values, where only e aus [0,1] is allowed
+ ={0,1}, is used for infoboxlayout_coltype</documentation>
+ </annotation>
+ <restriction base="nonNegativeInteger">
+ <minInclusive value="0" />
+ <maxInclusive value="1" />
+ </restriction>
+ </simpleType>
+
+ <complexType name="pattern_match_type">
+ <attribute name="regexp" type="string">
+ <annotation>
+ <documentation>This attribute takes regular expressions of any kind.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+
+ <complexType name="pattern_type">
+ <annotation>
+ <documentation>A pattern element consists of include and exclude
+ tags. Values of the corresponding column
+ can be checked by the defined regular expressions. They must pass the
+ regexp-checks in
+ the following way: Go through all include/exclude tags. A value must be
+ valid against the
+ include-regexps and must not match with the exclude-regexps. Therefore the order of
+ tags
+ is important.
+ </documentation>
+ </annotation>
+ <sequence maxOccurs="unbounded" minOccurs="1">
+ <element maxOccurs="1" minOccurs="0" name="include"
+ type="lml:pattern_match_type" />
+ <element maxOccurs="1" minOccurs="0" name="exclude"
+ type="lml:pattern_match_type" />
+ <element name="select" type="lml:select_type" minOccurs="0">
+ <annotation>
+ <documentation>The select tag is used for selecting subsets from
+ the current table.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </complexType>
+
+ <complexType name="select_type">
+ <annotation>
+ <documentation>One select tag describes a selection of a subset
+ within a table.
+ It is used for filtering. All table rows are traversed and they
+ are checked against the relation given by the rel-attribute.
+ If the comparison term is true, the table row will stay in the
+ filtered result, otherwise it is removed. Example: a table has the
+ row totalcores. The user is only interested in big jobs with more
+ than 1000 cores. A select tag must be added with the value=1000
+ and the rel=gt. Thus, only the table rows with more than 1000 cores
+ are transferred to the client.
+ The select tags are executed subsequently. This allows the selection
+ of a subset from another subset generated by a previous select.
+ </documentation>
+ </annotation>
+ <attribute name="value" type="string" use="required">
+ <annotation>
+ <documentation>The value is the parameter, with which the table
+ row's attribute
+ is compared.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="rel" type="lml:select_relation_type"
+ default="=~">
+ <annotation>
+ <documentation>The rel attribute is the operator executed on the
+ value and each
+ table cell's value of the current column. The following comparison
+ operators are allowed:
+ = numerical or string comparison for equality
+ != numerical or string comparison for inequality
+ lt numerical comparison for lower than
+ le numerical comparison for lower than or equality
+ gt numerical comparison for greater than
+ ge numerical comparison for greater than or equality
+ =~ string matching against a regular expression
+ !~ string test for not matching a regular expression
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+
+ <simpleType name="select_relation_type">
+ <restriction base="string">
+ <enumeration value="="></enumeration>
+ <enumeration value="lt"></enumeration>
+ <enumeration value="le"></enumeration>
+ <enumeration value="gt"></enumeration>
+ <enumeration value="!="></enumeration>
+ <enumeration value="=~"></enumeration>
+ <enumeration value="!~"></enumeration>
+ <enumeration value="ge"></enumeration>
+ </restriction>
+ </simpleType>
+
+
+ <element name="layout" type="lml:layout_root"></element>
+
+ <complexType name="layout_root">
+ <sequence>
+ <element name="request" type="lml:RequestType" minOccurs="0"
+ maxOccurs="1">
+ </element>
+ <sequence minOccurs="0" maxOccurs="unbounded">
+ <element name="textlayout" type="lml:infoboxlayout_type"
+ minOccurs="0" maxOccurs="1">
+ </element>
+ <element name="infoboxlayout" type="lml:infoboxlayout_type"
+ minOccurs="0" maxOccurs="1">
+ </element>
+ <element name="tablelayout" type="lml:tablelayout_type"
+ minOccurs="0" maxOccurs="1">
+ </element>
+ <element name="chartlayout" type="lml:chartlayout_type"
+ minOccurs="0" maxOccurs="1">
+ </element>
+ <element name="usagebarlayout" type="lml:usagebarlayout_type"
+ minOccurs="0" maxOccurs="1">
+ </element>
+ <element name="nodedisplaylayout" type="lml:nodedisplaylayout_type"
+ minOccurs="0" maxOccurs="1">
+ </element>
+ <element name="abslayout" type="lml:abslayout_type"
+ minOccurs="0" maxOccurs="1">
+ </element>
+ <element name="splitlayout" type="lml:splitlayout_type"
+ minOccurs="0" maxOccurs="1">
+ </element>
+ </sequence>
+ </sequence>
+ <attribute name="version" type="string" use="optional">
+ <annotation>
+ <documentation>Opportunity to provide a version number for this
+ layout file.
+ So far, there are no rules or definitions about the version names.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+
</schema>
diff --git a/schemas/lgui.xsd b/schemas/lgui.xsd
index 7385c23..3f936fa 100644
--- a/schemas/lgui.xsd
+++ b/schemas/lgui.xsd
@@ -3,7 +3,7 @@
LML - LLView markup language
-Copyright (c) 2011 Forschungszentrum Juelich GmbH
+Copyright (c) 2011-2013 Forschungszentrum Juelich GmbH
All rights reserved. This program and the accompanying materials
@@ -13,7 +13,7 @@
http://www.eclipse.org/legal/epl-v10.html
-->
-<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://eclipse.org/ptp/schemas" targetNamespace="http://eclipse.org/ptp/schemas">
<include schemaLocation="layout.xsd"/>
<include schemaLocation="nodedisplay.xsd"/>
<include schemaLocation="relation.xsd"/>
diff --git a/schemas/nodedisplay.xsd b/schemas/nodedisplay.xsd
index bfc6092..5e2342a 100644
--- a/schemas/nodedisplay.xsd
+++ b/schemas/nodedisplay.xsd
@@ -3,7 +3,7 @@
LML - LLView markup language
-Copyright (c) 2011 Forschungszentrum Juelich GmbH
+Copyright (c) 2011-2013 Forschungszentrum Juelich GmbH
All rights reserved. This program and the accompanying materials
@@ -13,45 +13,11 @@
http://www.eclipse.org/legal/epl-v10.html
-->
-<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://eclipse.org/ptp/schemas" targetNamespace="http://eclipse.org/ptp/schemas">
<include schemaLocation="usagebar.xsd"/>
<include schemaLocation="lgui.xsd"/>
- <complexType name="element_type">
- <annotation>
- <documentation>
- Abstract element type for either scheme- or
- data-elements. This element is repeated (max-min+1)
- times, if step in the scheme-section is 1. max should be
- higher then min. If max is left out, max will be set to
- min (max=min). min="0", max="0" means there is only one
- element.
- </documentation>
- </annotation>
- <attribute name="min" type="nonNegativeInteger">
- <annotation>
- <documentation>
- Defines a list of elements. In default-case (count
- is not defined) count is set to one.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="max" type="nonNegativeInteger"/>
- <attribute name="list" type="lml:list_type"/>
- </complexType>
-
-
-
-
- <complexType name="scheme_type">
- <annotation>
- <documentation>Scheme description of batch-system. Describes an empty instance of the actual batch system.</documentation>
- </annotation>
- <sequence>
- <element maxOccurs="unbounded" minOccurs="1" name="el1" type="lml:scheme_element1"/>
- </sequence>
- </complexType>
-
+ <include schemaLocation="scheme.xsd"/>
<complexType name="data_type">
<sequence>
@@ -102,103 +68,6 @@
</complexContent>
</complexType>
- <complexType name="scheme_element1">
- <complexContent>
- <extension base="lml:scheme_element">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el2" type="lml:scheme_element2"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="scheme_element10">
- <complexContent>
- <extension base="lml:scheme_element"/>
- </complexContent>
- </complexType>
-
- <complexType name="scheme_element9">
- <complexContent>
- <extension base="lml:scheme_element">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el10" type="lml:scheme_element10"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="scheme_element8">
- <complexContent>
- <extension base="lml:scheme_element">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el9" type="lml:scheme_element9"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="scheme_element7">
- <complexContent>
- <extension base="lml:scheme_element">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el8" type="lml:scheme_element8"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="scheme_element6">
- <complexContent>
- <extension base="lml:scheme_element">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el7" type="lml:scheme_element7"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="scheme_element5">
- <complexContent>
- <extension base="lml:scheme_element">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el6" type="lml:scheme_element6"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="scheme_element4">
- <complexContent>
- <extension base="lml:scheme_element">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el5" type="lml:scheme_element5"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="scheme_element3">
- <complexContent>
- <extension base="lml:scheme_element">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el4" type="lml:scheme_element4"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="scheme_element2">
- <complexContent>
- <extension base="lml:scheme_element">
- <sequence>
- <element maxOccurs="unbounded" minOccurs="0" name="el3" type="lml:scheme_element3"/>
- </sequence>
- </extension>
- </complexContent>
- </complexType>
-
-
<complexType name="data_element1">
<complexContent>
<extension base="lml:data_element">
@@ -354,67 +223,4 @@
</complexContent>
</complexType>
- <complexType name="scheme_element">
- <annotation>
- <documentation>
- All el?-tags will be subtypes of this type. Tagname has
- to be defined here. Data-elements must not repeat this
- tagname.
- </documentation>
- </annotation>
- <complexContent>
- <extension base="lml:element_type">
- <attribute name="tagname" type="NCName"/>
- <attribute default="%d-" name="mask">
- <annotation>
- <documentation>
- If mask is not defined, default-mask is
- "%d-". To separate name-parts of implicit
- names use the length of the mask or a given
- separator. An unidentifying mask like "%d"
- is not allowed.
- </documentation>
- </annotation>
- <simpleType>
- <restriction base="string">
- <pattern value="(([^%])*%(\-|\+|\s|\#)*0(\-|\+|\s|\#)*(\d)+d([^%])*)|(([^%])*%(\-|\+|\s|\#)*d([^%\d])+)|(([^%])*%(\-|\+|\s|\#)*1d([^%])*)">
- </pattern>
- </restriction>
- </simpleType>
- </attribute>
- <attribute default="1" name="step" type="positiveInteger">
- <annotation>
- <documentation>
- default-step-width is 1. This is the value,
- which is set, if step is not defined.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="map" type="lml:namemapping_type">
- <annotation>
- <documentation>Map names as implicit names to these components. mask and map can not be used together. map defines special names for all elements within this list. names must be separated by commas.</documentation>
- </annotation>
-</attribute>
- </extension>
- </complexContent>
- </complexType>
-
-
- <simpleType name="list_type">
- <annotation>
- <documentation>Type for list-attribute in scheme- or data-tag. It allowes the definition of several positive integer-values seperated by commas.</documentation>
- </annotation>
- <restriction base="string">
- <pattern value="\s*\d+\s*(\s*,\s*\d+)*"/>
- </restriction>
- </simpleType>
-
- <simpleType name="namemapping_type">
- <annotation>
- <documentation>This type is used to map special names to elements of the nodedisplay. Usually a digit has to be printed with a mask-atttribute, but if the name does not contain a digit, this type will be used to define those special names.</documentation>
- </annotation>
- <restriction base="string">
- <pattern value=".*(,.*)*"/>
- </restriction>
- </simpleType>
</schema>
diff --git a/schemas/relation.xsd b/schemas/relation.xsd
index 8365673..23adf2e 100644
--- a/schemas/relation.xsd
+++ b/schemas/relation.xsd
@@ -3,7 +3,7 @@
LML - LLView markup language
-Copyright (c) 2011 Forschungszentrum Juelich GmbH
+Copyright (c) 2011-2013 Forschungszentrum Juelich GmbH
All rights reserved. This program and the accompanying materials
@@ -13,7 +13,7 @@
http://www.eclipse.org/legal/epl-v10.html
-->
-<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://eclipse.org/ptp/schemas" targetNamespace="http://eclipse.org/ptp/schemas">
<complexType name="relation_type">
<annotation>
diff --git a/schemas/request.xsd b/schemas/request.xsd
index 5f244c7..c8b098c 100644
--- a/schemas/request.xsd
+++ b/schemas/request.xsd
@@ -3,7 +3,7 @@
LML - LLView markup language
-Copyright (c) 2011 Forschungszentrum Juelich GmbH
+Copyright (c) 2011-2013 Forschungszentrum Juelich GmbH
All rights reserved. This program and the accompanying materials
@@ -13,10 +13,22 @@
http://www.eclipse.org/legal/epl-v10.html
-->
-<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://eclipse.org/ptp/schemas" targetNamespace="http://eclipse.org/ptp/schemas">
-
-
+ <simpleType name="content_type">
+ <annotation>
+ <documentation>Type describing the type of content of a table.</documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="jobs" />
+ <enumeration value="nodes" />
+ <enumeration value="users" />
+ <enumeration value="groups" />
+ <enumeration value="classes" />
+ <enumeration value="queues" />
+ <enumeration value="other" />
+ </restriction>
+ </simpleType>
<complexType name="RequestType">
<annotation>
diff --git a/schemas/rm-1.1.0.xsd b/schemas/rm-1.1.0.xsd
deleted file mode 100644
index d301e2c..0000000
--- a/schemas/rm-1.1.0.xsd
+++ /dev/null
@@ -1,739 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- ******************************************************************************* -->
-<!-- * Copyright (c) 2011 University of Illinois All rights reserved. This program -->
-<!-- * and the accompanying materials are made available under the terms of the -->
-<!-- * Eclipse Public License v1.0 which accompanies this distribution, and is -->
-<!-- * available at http://www.eclipse.org/legal/epl-v10.html -->
-<!-- * -->
-<!-- * Contributors: -->
-<!-- * Albert L. Rossi - design and implementation -->
-<!-- ****************************************************************************** -->
-<xs:schema targetNamespace="http://eclipse.org/ptp/schemas"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:rm="http://eclipse.org/ptp/schemas"
- elementFormDefault="qualified" version="1.1.0">
- <xs:element name="resource-manager-builder" type="rm:resource-manager-data"/>
- <xs:complexType name="resource-manager-data">
- <xs:sequence>
- <xs:element name="site-data" minOccurs="0" type="rm:site-type"/>
- <xs:element name="control-data" minOccurs="0" type="rm:control-type"/>
- <xs:element name="monitor-data" minOccurs="0" type="rm:monitor-type"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="site-type">
- <xs:sequence>
- <xs:element minOccurs="0" name="remote-services" type="xs:string"/>
- <xs:element minOccurs="0" name="connection-name" type="xs:string"/>
- <!-- The following elements are deprecated. Do not use. -->
- <xs:element minOccurs="0" name="control-connection" type="xs:string"/>
- <xs:element minOccurs="0" name="monitor-connection" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="control-type">
- <xs:sequence>
- <xs:element name="attribute" minOccurs="0" maxOccurs="unbounded" type="rm:attribute-type"/>
- <xs:element name="managed-files" minOccurs="0" maxOccurs="unbounded" type="rm:managed-files-type"/>
- <xs:element name="script" minOccurs="0" type="rm:script-type"/>
- <xs:element name="start-up-command" minOccurs="0" maxOccurs="unbounded" type="rm:command-type"/>
- <xs:choice minOccurs="0">
- <xs:sequence>
- <xs:element name="submit-interactive" type="rm:command-type"/>
- <xs:element name="submit-interactive-debug" type="rm:command-type" minOccurs="0"/>
- </xs:sequence>
- <xs:sequence>
- <xs:element name="submit-batch" type="rm:command-type"/>
- <xs:element name="submit-batch-debug" type="rm:command-type" minOccurs="0"/>
- </xs:sequence>
- </xs:choice>
- <xs:element name="get-job-status" type="rm:command-type" minOccurs="0"/>
- <xs:element name="terminate-job" type="rm:command-type" minOccurs="0"/>
- <xs:element name="suspend-job" type="rm:command-type" minOccurs="0"/>
- <xs:element name="resume-job" type="rm:command-type" minOccurs="0"/>
- <xs:element name="hold-job" type="rm:command-type" minOccurs="0"/>
- <xs:element name="release-job" type="rm:command-type" minOccurs="0"/>
- <xs:element name="shut-down-command" minOccurs="0" maxOccurs="unbounded" type="rm:command-type"/>
- <xs:element name="button-action" minOccurs="0" maxOccurs="unbounded" type="rm:command-type"/>
- <xs:element name="launch-tab" minOccurs="0" type="rm:launch-tab-type"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="attribute-type">
- <xs:sequence>
- <xs:element name="description" minOccurs="0" type="xs:string"/>
- <xs:element name="tooltip" minOccurs="0" type="xs:string"/>
- <xs:element name="choice" minOccurs="0" type="xs:string"/>
- <xs:element name="items-from" minOccurs="0" type="xs:string"/>
- <xs:element name="default" minOccurs="0" type="xs:string"/>
- <xs:element name="value" minOccurs="0"/>
- <xs:element name="link-value-to" minOccurs="0" type="xs:string"/>
- <xs:element name="validator" minOccurs="0" type="rm:validator-type"/>
- </xs:sequence>
- <xs:attribute name="name" use="required" type="xs:string"/>
- <xs:attribute name="type" type="xs:string" default="java.lang.String"/>
- <xs:attribute name="visible" type="xs:boolean" default="true"/>
- <xs:attribute name="status" type="xs:string"/>
- <xs:attribute name="readOnly" type="xs:boolean" default="false"/>
- <xs:attribute name="translateBooleanAs" type="xs:string"/>
- <xs:attribute name="min" type="xs:int"/>
- <xs:attribute name="max" type="xs:int"/>
- </xs:complexType>
- <xs:complexType name="managed-files-type">
- <xs:sequence>
- <xs:element name="file-staging-location" minOccurs="0" type="xs:string"/>
- <xs:element name="file" maxOccurs="unbounded" type="rm:managed-file-type"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="script-type">
- <xs:sequence>
- <xs:element name="file-staging-location" minOccurs="0" type="xs:string"/>
- <xs:element name="line" maxOccurs="unbounded" type="rm:line-type"/>
- </xs:sequence>
- <xs:attribute name="insertEnvironmentAfter" type="xs:int" default="-1"/>
- <xs:attribute name="deleteAfterSubmit" type="xs:boolean" default="true"/>
- </xs:complexType>
- <xs:complexType name="line-type">
- <xs:sequence>
- <xs:element name="arg" minOccurs="0" maxOccurs="unbounded" type="rm:arg-type"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="command-type">
- <xs:sequence>
- <xs:element name="arg" maxOccurs="unbounded" type="rm:arg-type"/>
- <xs:element name="input" minOccurs="0" maxOccurs="unbounded" type="rm:arg-type"/>
- <xs:element name="environment" minOccurs="0" maxOccurs="unbounded" type="rm:environment-type"/>
- <xs:element name="stdout-parser" minOccurs="0" type="rm:tokenizer-type"/>
- <xs:element name="stderr-parser" minOccurs="0" type="rm:tokenizer-type"/>
- <xs:element name="redirect-parser" minOccurs="0" type="rm:tokenizer-type"/>
- <xs:element name="pre-launch-cmd" minOccurs="0" maxOccurs="unbounded" type="rm:simple-command-type"/>
- <xs:element name="post-launch-cmd" minOccurs="0" maxOccurs="unbounded" type="rm:simple-command-type"/>
- </xs:sequence>
- <xs:attribute name="name" use="required" type="xs:string"/>
- <xs:attribute name="directory" type="xs:string"/>
- <xs:attribute name="redirectStderr" type="xs:boolean" default="false"/>
- <xs:attribute name="streamBufferLimit" type="xs:int" default="-1"/>
- <xs:attribute name="replaceEnvironment" type="xs:boolean" default="false"/>
- <xs:attribute name="waitForId" type="xs:boolean" default="false"/>
- <xs:attribute name="ignoreExitStatus" type="xs:boolean" default="false"/>
- <xs:attribute name="keepOpen" type="xs:boolean" default="false"/>
- <xs:attribute name="flags" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="simple-command-type">
- <xs:attribute name="exec" use="required" type="xs:string"/>
- <xs:attribute name="directory" type="xs:string"/>
- <xs:attribute name="redirectStderr" type="xs:boolean" default="false"/>
- <xs:attribute name="ignoreExitStatus" type="xs:boolean" default="false"/>
- <xs:attribute name="wait" type="xs:boolean" default="true"/>
- <xs:attribute name="name" type="xs:string"/>
- <xs:attribute name="flags" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="launch-tab-type">
- <xs:sequence>
- <xs:element name="dynamic" minOccurs="0" maxOccurs="unbounded" type="rm:tab-controller-type"/>
- <xs:element name="import" minOccurs="0">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="export-for-override" minOccurs="0" type="rm:attribute-viewer-type"/>
- </xs:sequence>
- <xs:attribute name="title" type="xs:string" use="required"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="validator-type">
- <xs:sequence>
- <xs:choice minOccurs="0">
- <xs:element name="regex" type="rm:regex-type"/>
- <xs:element name="file-info" type="rm:file-match-type"/>
- <xs:sequence>
- <xs:element name="range" maxOccurs="unbounded" type="rm:range-type"/>
- </xs:sequence>
- </xs:choice>
- <xs:element name="error-message" minOccurs="0" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="managed-file-type">
- <xs:choice>
- <xs:sequence>
- <xs:element name="line" maxOccurs="unbounded" type="rm:line-type"/>
- </xs:sequence>
- <xs:element name="contents" type="xs:string"/>
- <xs:element name="path" type="xs:string"/>
- </xs:choice>
- <xs:attribute name="name" use="required"/>
- <xs:attribute name="uniqueIdPrefix" type="xs:boolean" default="false"/>
- <xs:attribute name="resolveContents" type="xs:boolean" default="true"/>
- <xs:attribute name="deleteSourceAfterUse" type="xs:boolean" default="false"/>
- <xs:attribute name="deleteTargetAfterUse" type="xs:boolean" default="false"/>
- <xs:attribute name="mode" type="xs:string"/>
- <xs:attribute name="flags" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="file-match-type">
- <xs:attribute name="efsAttributes" type="xs:string"/>
- <xs:attribute name="lastModifiedBefore" type="xs:string"/>
- <xs:attribute name="lastModifiedAfter" type="xs:string"/>
- <xs:attribute name="length" type="xs:long"/>
- <xs:attribute name="isDirectory" type="xs:boolean" default="false"/>
- </xs:complexType>
- <xs:complexType name="range-type">
- <xs:attribute name="lessThan" type="xs:string"/>
- <xs:attribute name="lessThanOrEqualTo" type="xs:string"/>
- <xs:attribute name="greaterThan" type="xs:string"/>
- <xs:attribute name="greaterThanOrEqualTo" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="environment-type">
- <xs:sequence>
- <xs:element name="arg" minOccurs="0" maxOccurs="unbounded" type="rm:arg-type"/>
- </xs:sequence>
- <xs:attribute name="name" use="required" type="xs:string"/>
- <xs:attribute name="value" type="xs:string"/>
- <xs:attribute name="preserve" type="xs:boolean"/>
- </xs:complexType>
- <xs:complexType name="tab-controller-type">
- <xs:sequence>
- <xs:element name="title" type="xs:string"/>
- <xs:element name="layout" minOccurs="0" type="rm:layout-type"/>
- <xs:element name="layout-data" minOccurs="0" type="rm:layout-data-type"/>
- <xs:element name="font" minOccurs="0" type="rm:font-type"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="tab-folder" type="rm:tab-folder-type"/>
- <xs:element name="composite" type="rm:composite-type"/>
- <xs:element name="widget" type="rm:widget-type"/>
- <xs:element name="browse" type="rm:browse-type"/>
- <xs:element name="action" type="rm:push-button-type"/>
- <xs:element name="button-group" type="rm:button-group-type"/>
- <xs:element name="viewer" type="rm:attribute-viewer-type"/>
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="style" type="xs:string"/>
- <xs:attribute name="background" type="xs:string"/>
- <xs:attribute name="includeWidgetValuesFrom" type="xs:string"/>
- <xs:attribute name="showViewConfig" type="xs:boolean" default="true"/>
- <xs:attribute name="showViewExcluded" type="xs:boolean" default="false"/>
- </xs:complexType>
- <xs:complexType name="regex-type" mixed="true">
- <xs:attribute name="flags" type="xs:string"/>
- <xs:attribute name="split" type="xs:boolean" default="false"/>
- <xs:attribute name="expression" type="xs:string"/>
- </xs:complexType>
- <xs:complexType mixed="true" name="arg-type">
- <xs:attribute name="attribute" type="xs:string"/>
- <xs:attribute name="isUndefinedIfMatches" type="xs:string"/>
- <xs:attribute name="resolve" type="xs:boolean" default="true"/>
- </xs:complexType>
- <xs:complexType name="tokenizer-type">
- <xs:sequence>
- <xs:choice>
- <xs:element name="type" type="xs:string"/>
- <xs:element name="target" maxOccurs="unbounded" type="rm:target-type"/>
- </xs:choice>
- <xs:element name="exit-on" minOccurs="0" type="rm:regex-type"/>
- <xs:element name="exit-after" minOccurs="0" type="rm:regex-type"/>
- </xs:sequence>
- <xs:attribute name="delim" type="xs:string"/>
- <xs:attribute name="includeDelim" type="xs:boolean" default="false"/>
- <xs:attribute name="maxMatchLen" type="xs:int" default="0"/>
- <xs:attribute name="all" type="xs:boolean" default="false"/>
- <xs:attribute name="save" type="xs:int" default="0"/>
- <xs:attribute name="applyToAll" type="xs:boolean" default="false"/>
- </xs:complexType>
- <xs:complexType name="tab-folder-type">
- <xs:sequence>
- <xs:element name="layout" minOccurs="0" type="rm:layout-type"/>
- <xs:element name="layout-data" minOccurs="0" type="rm:layout-data-type"/>
- <xs:element name="item" maxOccurs="unbounded" type="rm:tab-item-type"/>
- <xs:element name="tooltip" minOccurs="0" type="xs:string"/>
- <xs:element name="font" minOccurs="0" type="rm:font-type"/>
- <xs:element name="control-state" minOccurs="0" type="rm:control-state-type"/>
- </xs:sequence>
- <xs:attribute name="style" type="xs:string"/>
- <xs:attribute name="background" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="composite-type">
- <xs:sequence>
- <xs:element name="layout" minOccurs="0" type="rm:layout-type"/>
- <xs:element name="layout-data" minOccurs="0" type="rm:layout-data-type"/>
- <xs:element name="font" minOccurs="0" type="rm:font-type"/>
- <xs:element name="title" minOccurs="0" type="xs:string"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="tab-folder" type="rm:tab-folder-type"/>
- <xs:element name="composite" type="rm:composite-type"/>
- <xs:element name="widget" type="rm:widget-type"/>
- <xs:element name="browse" type="rm:browse-type"/>
- <xs:element name="action" type="rm:push-button-type"/>
- <xs:element name="button-group" type="rm:button-group-type"/>
- <xs:element name="viewer" type="rm:attribute-viewer-type"/>
- </xs:choice>
- <xs:element name="control-state" minOccurs="0" type="rm:control-state-type"/>
- </xs:sequence>
- <xs:attribute name="group" type="xs:boolean" default="false"/>
- <xs:attribute name="style" type="xs:string"/>
- <xs:attribute name="background" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="tab-item-type">
- <xs:sequence>
- <xs:element name="layout" minOccurs="0" type="rm:layout-type"/>
- <xs:element name="layout-data" minOccurs="0" type="rm:layout-data-type"/>
- <xs:element name="title" type="xs:string"/>
- <xs:element name="tooltip" minOccurs="0" type="xs:string"/>
- <xs:element name="font" minOccurs="0" type="rm:font-type"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="composite" type="rm:composite-type"/>
- <xs:element name="tab-folder" type="rm:tab-folder-type"/>
- <xs:element name="widget" type="rm:widget-type"/>
- <xs:element name="browse" type="rm:browse-type"/>
- <xs:element name="action" type="rm:push-button-type"/>
- <xs:element name="button-group" type="rm:button-group-type"/>
- <xs:element name="viewer" type="rm:attribute-viewer-type"/>
- </xs:choice>
- <xs:element name="control-state" minOccurs="0" type="rm:control-state-type"/>
- </xs:sequence>
- <xs:attribute name="style" type="xs:string"/>
- <xs:attribute name="background" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="layout-type">
- <xs:choice>
- <xs:element name="fill-layout" type="rm:fill-layout-type"/>
- <xs:element name="row-layout" type="rm:row-layout-type"/>
- <xs:element name="grid-layout" type="rm:grid-layout-type"/>
- <xs:element name="form-layout" type="rm:form-layout-type"/>
- </xs:choice>
- </xs:complexType>
- <xs:complexType name="layout-data-type">
- <xs:choice>
- <xs:element name="row-data" type="rm:row-data-type"/>
- <xs:element name="grid-data" type="rm:grid-data-type"/>
- <xs:element name="form-data" type="rm:form-data-type"/>
- </xs:choice>
- </xs:complexType>
- <xs:complexType name="fill-layout-type">
- <xs:attribute name="type" type="xs:string"/>
- <xs:attribute name="marginHeight" type="xs:int"/>
- <xs:attribute name="marginWidth" type="xs:int"/>
- <xs:attribute name="spacing" type="xs:int"/>
- </xs:complexType>
- <xs:complexType name="row-layout-type">
- <xs:attribute name="type" type="xs:string"/>
- <xs:attribute name="center" type="xs:boolean" default="false"/>
- <xs:attribute name="justify" type="xs:boolean" default="false"/>
- <xs:attribute name="fill" type="xs:boolean" default="false"/>
- <xs:attribute name="pack" type="xs:boolean" default="false"/>
- <xs:attribute name="wrap" type="xs:boolean" default="false"/>
- <xs:attribute name="marginHeight" type="xs:int"/>
- <xs:attribute name="marginWidth" type="xs:int"/>
- <xs:attribute name="marginTop" type="xs:int"/>
- <xs:attribute name="marginBottom" type="xs:int"/>
- <xs:attribute name="marginLeft" type="xs:int"/>
- <xs:attribute name="marginRight" type="xs:int"/>
- <xs:attribute name="spacing" type="xs:int"/>
- </xs:complexType>
- <xs:complexType name="grid-layout-type">
- <xs:attribute name="numColumns" type="xs:int"/>
- <xs:attribute name="makeColumnsEqualWidth" type="xs:boolean" default="false"/>
- <xs:attribute name="marginHeight" type="xs:int"/>
- <xs:attribute name="marginWidth" type="xs:int"/>
- <xs:attribute name="marginTop" type="xs:int"/>
- <xs:attribute name="marginBottom" type="xs:int"/>
- <xs:attribute name="marginLeft" type="xs:int"/>
- <xs:attribute name="marginRight" type="xs:int"/>
- <xs:attribute name="horizontalSpacing" type="xs:int"/>
- <xs:attribute name="verticalSpacing" type="xs:int"/>
- </xs:complexType>
- <xs:complexType name="form-layout-type">
- <xs:attribute name="marginHeight" type="xs:int"/>
- <xs:attribute name="marginWidth" type="xs:int"/>
- <xs:attribute name="marginTop" type="xs:int"/>
- <xs:attribute name="marginBottom" type="xs:int"/>
- <xs:attribute name="marginLeft" type="xs:int"/>
- <xs:attribute name="marginRight" type="xs:int"/>
- <xs:attribute name="spacing" type="xs:int"/>
- </xs:complexType>
- <xs:complexType name="row-data-type">
- <xs:attribute name="height" type="xs:int"/>
- <xs:attribute name="width" type="xs:int"/>
- <xs:attribute name="exclude" type="xs:boolean" default="false"/>
- </xs:complexType>
- <xs:complexType name="grid-data-type">
- <xs:attribute name="style" type="xs:string"/>
- <xs:attribute name="horizontalAlign" type="xs:string"/>
- <xs:attribute name="verticalAlign" type="xs:string"/>
- <xs:attribute name="grabExcessHorizontal" type="xs:boolean" default="false"/>
- <xs:attribute name="grabExcessVertical" type="xs:boolean" default="false"/>
- <xs:attribute name="horizontalSpan" type="xs:int"/>
- <xs:attribute name="verticalSpan" type="xs:int"/>
- <xs:attribute name="horizontalIndent" type="xs:int"/>
- <xs:attribute name="verticalIndent" type="xs:int"/>
- <xs:attribute name="minHeight" type="xs:int"/>
- <xs:attribute name="minWidth" type="xs:int"/>
- <xs:attribute name="heightHint" type="xs:int"/>
- <xs:attribute name="widthHint" type="xs:int"/>
- </xs:complexType>
- <xs:complexType name="form-data-type">
- <xs:sequence>
- <xs:element name="top" minOccurs="0" type="rm:form-attachment-type"/>
- <xs:element name="bottom" minOccurs="0" type="rm:form-attachment-type"/>
- <xs:element name="left" minOccurs="0" type="rm:form-attachment-type"/>
- <xs:element name="right" minOccurs="0" type="rm:form-attachment-type"/>
- </xs:sequence>
- <xs:attribute name="height" type="xs:int"/>
- <xs:attribute name="width" type="xs:int"/>
- </xs:complexType>
- <xs:complexType name="form-attachment-type">
- <xs:attribute name="alignment" type="xs:string"/>
- <xs:attribute name="numerator" type="xs:int"/>
- <xs:attribute name="denominator" type="xs:int"/>
- <xs:attribute name="offset" type="xs:int"/>
- </xs:complexType>
- <xs:complexType name="widget-type">
- <xs:sequence>
- <xs:element name="layout-data" minOccurs="0" type="rm:layout-data-type"/>
- <xs:element name="font" minOccurs="0" type="rm:font-type"/>
- <xs:element name="tooltip" minOccurs="0" type="xs:string"/>
- <xs:element name="items-from" minOccurs="0" type="xs:string"/>
- <xs:element name="fixed-text" minOccurs="0" type="xs:string"/>
- <xs:element name="dynamic-text" minOccurs="0">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="arg" maxOccurs="unbounded" type="rm:arg-type"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="control-state" minOccurs="0" type="rm:control-state-type"/>
- </xs:sequence>
- <xs:attribute name="type" default="text">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="label"/>
- <xs:enumeration value="text"/>
- <xs:enumeration value="checkbox"/>
- <xs:enumeration value="radiobutton"/>
- <xs:enumeration value="spinner"/>
- <xs:enumeration value="combo"/>
- <xs:enumeration value="custom"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="typeId" type="xs:string"/>
- <xs:attribute name="buttonId" type="xs:string"/>
- <xs:attribute name="title" type="xs:string"/>
- <xs:attribute name="style" type="xs:string"/>
- <xs:attribute name="readOnly" type="xs:boolean" default="false"/>
- <xs:attribute name="attribute" type="xs:string"/>
- <xs:attribute name="foreground" type="xs:string"/>
- <xs:attribute name="background" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="button-group-type">
- <xs:sequence>
- <xs:element name="layout-data" minOccurs="0" type="rm:layout-data-type"/>
- <xs:element name="layout" minOccurs="0" type="rm:layout-type"/>
- <xs:element name="title" minOccurs="0" type="xs:string"/>
- <xs:element name="tooltip" minOccurs="0" type="xs:string"/>
- <xs:element name="button" maxOccurs="unbounded" type="rm:widget-type"/>
- <xs:element name="control-state" minOccurs="0" type="rm:control-state-type"/>
- </xs:sequence>
- <xs:attribute name="group" type="xs:boolean" default="false"/>
- <xs:attribute name="attribute" type="xs:string"/>
- <xs:attribute name="style" type="xs:string"/>
- <xs:attribute name="background" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="browse-type">
- <xs:sequence>
- <xs:element name="text-layout-data" minOccurs="0" type="rm:layout-data-type"/>
- <xs:element name="button-layout-data" minOccurs="0" type="rm:layout-data-type"/>
- <xs:element name="font" minOccurs="0" type="rm:font-type"/>
- <xs:element name="tooltip" minOccurs="0" type="xs:string"/>
- <xs:element name="text-control-state" minOccurs="0" type="rm:control-state-type"/>
- <xs:element name="button-control-state" minOccurs="0" type="rm:control-state-type"/>
- </xs:sequence>
- <xs:attribute name="title" type="xs:string"/>
- <xs:attribute name="textStyle" type="xs:string"/>
- <xs:attribute name="directory" type="xs:boolean" default="false"/>
- <xs:attribute name="uri" type="xs:boolean" default="false"/>
- <xs:attribute name="localOnly" type="xs:boolean" default="false"/>
- <xs:attribute name="readOnly" type="xs:boolean" default="false"/>
- <xs:attribute name="attribute" type="xs:string"/>
- <xs:attribute name="foreground" type="xs:string"/>
- <xs:attribute name="background" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="push-button-type">
- <xs:sequence>
- <xs:element name="layout-data" minOccurs="0" type="rm:layout-data-type"/>
- <xs:element name="font" minOccurs="0" type="rm:font-type"/>
- <xs:element name="tooltip" minOccurs="0" type="xs:string"/>
- <xs:element name="button-action" minOccurs="0" type="rm:button-action-type"/>
- <xs:element name="control-state" minOccurs="0" type="rm:control-state-type"/>
- </xs:sequence>
- <xs:attribute name="title" type="xs:string"/>
- <xs:attribute name="foreground" type="xs:string"/>
- <xs:attribute name="background" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="button-action-type">
- <xs:sequence>
- <xs:element name="action" type="xs:string"/>
- </xs:sequence>
- <xs:attribute name="clearValue" type="xs:string"/>
- <xs:attribute name="refresh" type="xs:boolean" default="true"/>
- </xs:complexType>
- <xs:complexType name="attribute-viewer-type">
- <xs:sequence>
- <xs:element name="layout-data" minOccurs="0" type="rm:layout-data-type"/>
- <xs:element name="layout" minOccurs="0" type="rm:layout-type"/>
- <xs:element name="label" minOccurs="0" type="xs:string"/>
- <xs:element name="column-data" minOccurs="0" maxOccurs="7" type="rm:column-data-type"/>
- <xs:element name="items" type="rm:viewer-items-type"/>
- <xs:element name="value" minOccurs="0" type="rm:template-type"/>
- <xs:element name="control-state" minOccurs="0" type="rm:control-state-type"/>
- </xs:sequence>
- <xs:attribute name="type" default="table">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="table"/>
- <xs:enumeration value="tree"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="name" type="xs:string"/>
- <xs:attribute name="initialAllChecked" type="xs:boolean" default="true"/>
- <xs:attribute name="sort" type="xs:boolean" default="true"/>
- <xs:attribute name="headerVisible" type="xs:boolean" default="true"/>
- <xs:attribute name="linesVisible" type="xs:boolean" default="true"/>
- <xs:attribute name="tooltipEnabled" type="xs:boolean" default="true"/>
- <xs:attribute name="style" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="viewer-items-type">
- <xs:sequence>
- <xs:element name="include" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
- <xs:element name="exclude" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
- </xs:sequence>
- <xs:attribute name="allPredefined" type="xs:boolean" default="false"/>
- <xs:attribute name="allDiscovered" type="xs:boolean" default="false"/>
- </xs:complexType>
- <xs:complexType name="font-type">
- <xs:attribute name="name" type="xs:string"/>
- <xs:attribute name="size" type="xs:int" default="9"/>
- <xs:attribute name="style" default="normal">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="normal"/>
- <xs:enumeration value="bold"/>
- <xs:enumeration value="italic"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="template-type">
- <xs:attribute name="pattern" type="xs:string"/>
- <xs:attribute name="separator" type="xs:string" default=" "/>
- </xs:complexType>
- <xs:complexType name="target-type">
- <xs:sequence>
- <xs:element name="match" maxOccurs="unbounded" type="rm:match-type"/>
- <xs:element name="test" minOccurs="0" maxOccurs="unbounded" type="rm:test-type"/>
- <xs:element name="else" minOccurs="0">
- <xs:complexType>
- <xs:choice>
- <xs:element name="add" type="rm:add-type"/>
- <xs:element name="append" type="rm:append-type"/>
- <xs:element name="put" type="rm:put-type"/>
- <xs:element name="set" type="rm:set-type"/>
- <xs:element name="throw" type="rm:throw-type"/>
- </xs:choice>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="ref" type="xs:string"/>
- <xs:attribute name="matchAll" type="xs:boolean" default="false"/>
- <xs:attribute name="allowOverwrites" type="xs:boolean" default="false"/>
- </xs:complexType>
- <xs:complexType name="match-type">
- <xs:sequence>
- <xs:element name="expression" minOccurs="0" type="rm:regex-type"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="add" type="rm:add-type"/>
- <xs:element name="append" type="rm:append-type"/>
- <xs:element name="put" type="rm:put-type"/>
- <xs:element name="set" type="rm:set-type"/>
- <xs:element name="throw" type="rm:throw-type"/>
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="moveToTop" type="xs:boolean" default="false"/>
- </xs:complexType>
- <xs:complexType name="column-data-type">
- <xs:sequence>
- <xs:element name="font" minOccurs="0" type="rm:font-type"/>
- <xs:element name="tooltip" minOccurs="0" type="xs:string"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string"/>
- <xs:attribute name="width" type="xs:int" default="-1"/>
- <xs:attribute name="alignment" type="xs:string"/>
- <xs:attribute name="resizable" type="xs:boolean" default="false"/>
- <xs:attribute name="moveable" type="xs:boolean" default="false"/>
- <xs:attribute name="foreground" type="xs:string"/>
- <xs:attribute name="background" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="set-type">
- <xs:sequence>
- <xs:element name="entry" minOccurs="0" type="rm:entry-type"/>
- </xs:sequence>
- <xs:attribute name="field" type="xs:string"/>
- <xs:attribute name="forceNewObject" type="xs:boolean" default="false"/>
- </xs:complexType>
- <xs:complexType name="throw-type">
- <xs:sequence>
- <xs:element name="entry" minOccurs="0" type="rm:entry-type"/>
- </xs:sequence>
- <xs:attribute name="field" type="xs:string"/>
- <xs:attribute name="message" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="add-type">
- <xs:sequence>
- <xs:element name="entry" minOccurs="0" maxOccurs="unbounded" type="rm:entry-type"/>
- </xs:sequence>
- <xs:attribute name="field" type="xs:string"/>
- <xs:attribute name="forceNewObject" type="xs:boolean" default="false"/>
- </xs:complexType>
- <xs:complexType name="append-type">
- <xs:sequence>
- <xs:element name="entry" minOccurs="0" maxOccurs="unbounded" type="rm:entry-type"/>
- </xs:sequence>
- <xs:attribute name="field" type="xs:string"/>
- <xs:attribute name="separator" type="xs:string"/>
- <xs:attribute name="forceNewObject" type="xs:boolean" default="false"/>
- </xs:complexType>
- <xs:complexType name="put-type">
- <xs:sequence>
- <xs:element name="entry" minOccurs="0" maxOccurs="unbounded" type="rm:entry-type"/>
- </xs:sequence>
- <xs:attribute name="field" type="xs:string"/>
- <xs:attribute name="forceNewObject" type="xs:boolean" default="false"/>
- </xs:complexType>
- <xs:complexType name="entry-type">
- <xs:attribute name="key" type="xs:string"/>
- <xs:attribute name="keyGroup" type="xs:int" default="0"/>
- <xs:attribute name="keyIndex" type="xs:int" default="0"/>
- <xs:attribute name="value" type="xs:string"/>
- <xs:attribute name="valueGroup" type="xs:int" default="0"/>
- <xs:attribute name="valueIndex" type="xs:int" default="0"/>
- </xs:complexType>
- <xs:complexType name="test-type">
- <xs:sequence>
- <xs:element name="test" minOccurs="0" maxOccurs="unbounded" type="rm:test-type"/>
- <xs:element name="value" type="xs:string" minOccurs="0" maxOccurs="2"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="add" type="rm:add-type"/>
- <xs:element name="append" type="rm:append-type"/>
- <xs:element name="put" type="rm:put-type"/>
- <xs:element name="set" type="rm:set-type"/>
- <xs:element name="throw" type="rm:throw-type"/>
- </xs:choice>
- <xs:element name="else" minOccurs="0">
- <xs:complexType>
- <xs:choice maxOccurs="unbounded">
- <xs:element name="add" type="rm:add-type"/>
- <xs:element name="append" type="rm:append-type"/>
- <xs:element name="put" type="rm:put-type"/>
- <xs:element name="set" type="rm:set-type"/>
- <xs:element name="throw" type="rm:throw-type"/>
- </xs:choice>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="op">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="EQ"/>
- <xs:enumeration value="LT"/>
- <xs:enumeration value="GT"/>
- <xs:enumeration value="LE"/>
- <xs:enumeration value="GE"/>
- <xs:enumeration value="AND"/>
- <xs:enumeration value="OR"/>
- <xs:enumeration value="NOT"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="control-state-type">
- <xs:sequence>
- <xs:choice minOccurs="0">
- <xs:element name="show-if" minOccurs="0" type="rm:control-state-rule-type"/>
- <xs:element name="hide-if" minOccurs="0" type="rm:control-state-rule-type"/>
- </xs:choice>
- <xs:choice minOccurs="0">
- <xs:element name="enable-if" minOccurs="0" type="rm:control-state-rule-type"/>
- <xs:element name="disable-if" minOccurs="0" type="rm:control-state-rule-type"/>
- </xs:choice>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="control-state-rule-type">
- <xs:choice>
- <xs:element name="not" minOccurs="0">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="rule" type="rm:control-state-rule-type"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="and" minOccurs="0">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="rule" maxOccurs="unbounded" type="rm:control-state-rule-type"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="or" minOccurs="0">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="rule" maxOccurs="unbounded" type="rm:control-state-rule-type"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- <xs:attribute name="button" type="xs:string"/>
- <xs:attribute name="selected" type="xs:boolean" default="true"/>
- <xs:attribute name="attribute" type="xs:string"/>
- <xs:attribute name="value" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="monitor-type">
- <xs:sequence>
- <xs:element name="driver" minOccurs="0" maxOccurs="unbounded" type="rm:monitor-driver-type"/>
- <xs:element name="workflow" minOccurs="0" maxOccurs="unbounded" type="rm:workflow-type"/>
- </xs:sequence>
- <xs:attribute name="schedulerType" type="xs:string"/>
- <xs:attribute name="refreshFrequencyInSeconds" type="xs:int" default="60"/>
- </xs:complexType>
- <xs:complexType name="monitor-driver-type">
- <xs:choice>
- <xs:element name="url" type="xs:string"/>
- <xs:sequence>
- <xs:element name="name" minOccurs="0" type="xs:string"/>
- <xs:element name="path" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
- <xs:element name="args" minOccurs="0" maxOccurs="unbounded" type="rm:arg-type"/>
- <xs:element name="cmd" minOccurs="0" maxOccurs="unbounded" type="rm:simple-command-type"/>
- </xs:sequence>
- </xs:choice>
- </xs:complexType>
- <xs:complexType name="workflow-type">
- <xs:sequence>
- <xs:element name="vardefs" minOccurs="0" maxOccurs="unbounded" type="rm:vardefs-type"/>
- <xs:element name="managed-files" minOccurs="0" maxOccurs="unbounded" type="rm:managed-files-type"/>
- <xs:element name="step" minOccurs="0" maxOccurs="unbounded" type="rm:step-type"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="vardefs-type">
- <xs:choice>
- <xs:element name="var" minOccurs="0" maxOccurs="unbounded" type="rm:var-type"/>
- </xs:choice>
- </xs:complexType>
- <xs:complexType name="var-type">
- <xs:attribute name="key" type="xs:string"/>
- <xs:attribute name="value" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="step-type">
- <xs:choice>
- <xs:element name="cmd" minOccurs="0" maxOccurs="unbounded" type="rm:simple-command-type"/>
- </xs:choice>
- <xs:attribute name="id" type="xs:string"/>
- <xs:attribute name="active" type="xs:string"/>
- <xs:attribute name="exec_after" type="xs:string"/>
- <xs:attribute name="type" type="xs:string"/>
- </xs:complexType>
-</xs:schema>
\ No newline at end of file
diff --git a/schemas/scheme.xsd b/schemas/scheme.xsd
new file mode 100644
index 0000000..aacca06
--- /dev/null
+++ b/schemas/scheme.xsd
@@ -0,0 +1,222 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+LML - LLView markup language
+
+
+Copyright (c) 2011-2013 Forschungszentrum Juelich GmbH
+
+All rights reserved. This program and the accompanying materials
+
+are made available under the terms of the Eclipse Public License v1.0
+
+which accompanies this distribution and is available at
+
+http://www.eclipse.org/legal/epl-v10.html
+-->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://eclipse.org/ptp/schemas" targetNamespace="http://eclipse.org/ptp/schemas">
+
+ <complexType name="scheme_element">
+ <annotation>
+ <documentation>
+ All el?-tags will be subtypes of this type. Tagname has
+ to be defined here. Data-elements must not repeat this
+ tagname.
+ </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:element_type">
+ <attribute name="tagname" type="NCName" />
+ <attribute default="%d-" name="mask">
+ <annotation>
+ <documentation>
+ If mask is not defined, default-mask is
+ "%d-". To separate name-parts of implicit
+ names use the length of the mask or a given
+ separator. An unidentifying mask like "%d"
+ is not allowed.
+ </documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="string">
+ <pattern
+ value="(([^%])*%(\-|\+|\s|#)*0(\-|\+|\s|#)*(\d)+d([^%])*)|(([^%])*%(\-|\+|\s|#)*d([^%\d])+)|(([^%])*%(\-|\+|\s|#)*1d([^%])*)">
+ </pattern>
+ </restriction>
+ </simpleType>
+ </attribute>
+ <attribute default="1" name="step" type="positiveInteger">
+ <annotation>
+ <documentation>
+ default-step-width is 1. This is the value,
+ which is set, if step is not defined.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="map" type="lml:namemapping_type">
+ <annotation>
+ <documentation>Map names as implicit names to these components.
+ mask and map can not be used together. map defines special names
+ for all elements within this list. names must be separated by
+ commas.</documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element1">
+ <complexContent>
+ <extension base="lml:scheme_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el2" type="lml:scheme_element2"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element10">
+ <complexContent>
+ <extension base="lml:scheme_element"/>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element9">
+ <complexContent>
+ <extension base="lml:scheme_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el10" type="lml:scheme_element10"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element8">
+ <complexContent>
+ <extension base="lml:scheme_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el9" type="lml:scheme_element9"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element7">
+ <complexContent>
+ <extension base="lml:scheme_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el8" type="lml:scheme_element8"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element6">
+ <complexContent>
+ <extension base="lml:scheme_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el7" type="lml:scheme_element7"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element5">
+ <complexContent>
+ <extension base="lml:scheme_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el6" type="lml:scheme_element6"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element4">
+ <complexContent>
+ <extension base="lml:scheme_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el5" type="lml:scheme_element5"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element3">
+ <complexContent>
+ <extension base="lml:scheme_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el4" type="lml:scheme_element4"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element2">
+ <complexContent>
+ <extension base="lml:scheme_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el3" type="lml:scheme_element3"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+
+
+ <complexType name="element_type">
+ <annotation>
+ <documentation>
+ Abstract element type for either scheme- or
+ data-elements. This element is repeated (max-min+1)
+ times, if step in the scheme-section is 1. max should be
+ higher then min. If max is left out, max will be set to
+ min (max=min). min="0", max="0" means there is only one
+ element.
+ </documentation>
+ </annotation>
+ <attribute name="min" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ Defines a list of elements. In default-case (count
+ is not defined) count is set to one.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="max" type="nonNegativeInteger" />
+ <attribute name="list" type="lml:list_type" />
+ </complexType>
+
+ <simpleType name="namemapping_type">
+ <annotation>
+ <documentation>This type is used to map special names to elements of
+ the nodedisplay. Usually a digit has to be printed with a
+ mask-atttribute, but if the name does not contain a digit, this type
+ will be used to define those special names.</documentation>
+ </annotation>
+ <restriction base="string">
+ <pattern value=".*(,.*)*" />
+ </restriction>
+ </simpleType>
+
+ <simpleType name="list_type">
+ <annotation>
+ <documentation>Type for list-attribute in scheme- or data-tag. It
+ allowes the definition of several positive integer-values seperated
+ by commas.</documentation>
+ </annotation>
+ <restriction base="string">
+ <pattern value="\s*\d+\s*(\s*,\s*\d+)*" />
+ </restriction>
+ </simpleType>
+
+ <complexType name="scheme_type">
+ <annotation>
+ <documentation>Scheme description of batch-system. Describes an empty
+ instance of the actual batch system.</documentation>
+ </annotation>
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="1" name="el1"
+ type="lml:scheme_element1" />
+ </sequence>
+ </complexType>
+
+</schema>
diff --git a/schemas/table.xsd b/schemas/table.xsd
index 1aa16b6..d559e1d 100644
--- a/schemas/table.xsd
+++ b/schemas/table.xsd
@@ -3,7 +3,7 @@
LML - LLView markup language
-Copyright (c) 2011 Forschungszentrum Juelich GmbH
+Copyright (c) 2011-2013 Forschungszentrum Juelich GmbH
All rights reserved. This program and the accompanying materials
@@ -13,7 +13,7 @@
http://www.eclipse.org/legal/epl-v10.html
-->
-<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://eclipse.org/ptp/schemas" targetNamespace="http://eclipse.org/ptp/schemas">
<include schemaLocation="lgui.xsd"/>
<complexType name="column_type">
@@ -22,23 +22,6 @@
Describes one column of table.
</documentation>
</annotation>
- <sequence>
- <element maxOccurs="1" minOccurs="0" name="pattern" type="lml:pattern_type">
- <annotation>
- <documentation>
- The pattern-tag defines regular expressions,
- which describe the allowed values of a column.
- For a status-column in a job-table you could
- define, that values of this column are taken
- from {RUNNING, SUSPENDED, STOPPED}. This is also
- used to insert new jobs into job-tables. If a
- job is "running" and the status-column allows
- running jobs, this job should be inserted into
- this table.
- </documentation>
- </annotation>
- </element>
- </sequence>
<attribute name="name" type="NCName" use="required"/>
<attribute name="sort" type="lml:sorting_type"/>
<attribute name="description" type="string"/>
@@ -123,7 +106,7 @@
</element>
</sequence>
- <attribute default="other" name="contenttype">
+ <attribute default="other" name="contenttype" type="lml:content_type">
<annotation>
<documentation>
This attribute defines the table's content
@@ -131,17 +114,6 @@
to contain job-information.
</documentation>
</annotation>
- <simpleType>
- <restriction base="string">
- <enumeration value="jobs" />
- <enumeration value="nodes" />
- <enumeration value="users" />
- <enumeration value="groups" />
- <enumeration value="classes" />
- <enumeration value="queues" />
- <enumeration value="other" />
- </restriction>
- </simpleType>
</attribute>
<attribute name="form" default="sparse">
<annotation>
@@ -160,30 +132,4 @@
</complexContent>
</complexType>
-
-
-
-
- <complexType name="pattern_type">
- <annotation>
- <documentation>A pattern element consists of include and exclude tags. Values of the corresponding column
-can be checked by the defined regular expressions. They must pass the regexp-checks in
-the following way: Go through all include/exclude tags. A value must be valid against the
-include-regexps and must not match with the exclude-regexps. Therefore the order of tags
-is important.
-</documentation>
- </annotation>
- <sequence maxOccurs="unbounded" minOccurs="1">
- <element maxOccurs="1" minOccurs="0" name="include" type="lml:pattern_match_type"/>
- <element maxOccurs="1" minOccurs="0" name="exclude" type="lml:pattern_match_type"/>
- </sequence>
- </complexType>
-
- <complexType name="pattern_match_type">
- <attribute name="regexp" type="string">
- <annotation>
- <documentation>This attribute takes regular expressions of any kind.</documentation>
- </annotation>
-</attribute>
- </complexType>
</schema>
diff --git a/schemas/textboxes.xsd b/schemas/textboxes.xsd
index 67564e8..8df6324 100644
--- a/schemas/textboxes.xsd
+++ b/schemas/textboxes.xsd
@@ -3,7 +3,7 @@
LML - LLView markup language
-Copyright (c) 2011 Forschungszentrum Juelich GmbH
+Copyright (c) 2011-2013 Forschungszentrum Juelich GmbH
All rights reserved. This program and the accompanying materials
@@ -13,7 +13,7 @@
http://www.eclipse.org/legal/epl-v10.html
-->
-<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://eclipse.org/ptp/schemas" targetNamespace="http://eclipse.org/ptp/schemas">
<include schemaLocation="lgui.xsd"/>
diff --git a/schemas/usagebar.xsd b/schemas/usagebar.xsd
index 5926442..b589c61 100644
--- a/schemas/usagebar.xsd
+++ b/schemas/usagebar.xsd
@@ -3,7 +3,7 @@
LML - LLView markup language
-Copyright (c) 2011 Forschungszentrum Juelich GmbH
+Copyright (c) 2011-2013 Forschungszentrum Juelich GmbH
All rights reserved. This program and the accompanying materials
@@ -13,7 +13,7 @@
http://www.eclipse.org/legal/epl-v10.html
-->
-<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://eclipse.org/ptp/schemas" targetNamespace="http://eclipse.org/ptp/schemas">
<include schemaLocation="lgui.xsd"/>
diff --git a/schemas/v1.0/chart.xsd b/schemas/v1.0/chart.xsd
new file mode 100644
index 0000000..1b43ad0
--- /dev/null
+++ b/schemas/v1.0/chart.xsd
@@ -0,0 +1,175 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+LML - LLView markup language
+
+
+Copyright (c) 2011 Forschungszentrum Juelich GmbH
+
+All rights reserved. This program and the accompanying materials
+
+are made available under the terms of the Eclipse Public License v1.0
+
+which accompanies this distribution and is available at
+
+http://www.eclipse.org/legal/epl-v10.html
+-->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+
+ <include schemaLocation="lgui.xsd"/>
+
+ <complexType name="chart_type">
+ <annotation>
+ <documentation>
+ Collects data of a chart describing a histogram or other
+ diagrams.
+ </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:gobject_type">
+ <sequence>
+ <element maxOccurs="1" minOccurs="0" name="axes" type="lml:axes_type">
+ </element>
+ <element maxOccurs="unbounded" minOccurs="0" name="data" type="lml:datacollection_type"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="axis_type">
+ <annotation>
+ <documentation>Type for either x- or y-axis. Contains important data of these objects.</documentation>
+ </annotation>
+ <sequence>
+ <element maxOccurs="1" minOccurs="0" name="ticlabels" type="lml:ticlabels_type"/>
+ </sequence>
+ <attribute default="linear" name="type" type="lml:axis_type_constants"/>
+ <attribute name="unit" type="string">
+ <annotation>
+ <documentation>
+ Examples: hour, days, volt
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="label" type="string">
+ <annotation>
+ <documentation>
+ Description of what this axis is showing.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="shortlabel" type="string"/>
+ <attribute name="min" type="double" use="required"/>
+ <attribute name="max" type="double" use="required"/>
+ <attribute default="10" name="ticcount" type="nonNegativeInteger"/>
+ </complexType>
+
+ <simpleType name="axis_type_constants">
+ <annotation>
+ <documentation>Defines possible axis-types. Defines how numbers are arranged in this axis.</documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="linear"/>
+ <enumeration value="log"/>
+ </restriction>
+ </simpleType>
+
+ <complexType name="ticlabel_type">
+ <annotation>
+ <documentation>One ticlabel is one name or string, that is shown on an axis instead of a numerical value. The tic-labels will be shown in addition to normal tic-labels given by inserting ticcount-times a numerical value into the axis.</documentation>
+ </annotation>
+ <attribute name="pos" type="double" use="required"/>
+ <attribute name="text" type="string">
+ <annotation>
+ <documentation>not required. If not set pos will be printed</documentation>
+ </annotation>
+</attribute>
+ </complexType>
+
+ <complexType name="ticlabels_type">
+ <annotation>
+ <documentation>Collects a list of ticlabels.</documentation>
+ </annotation>
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="1" name="label" type="lml:ticlabel_type"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="axes_type">
+ <annotation>
+ <documentation>Combines one x-axis-element and one y-axis-element.</documentation>
+ </annotation>
+ <sequence>
+ <element maxOccurs="1" minOccurs="1" name="x" type="lml:axis_type">
+ </element>
+ <element maxOccurs="1" minOccurs="1" name="y" type="lml:axis_type"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="datapoint_type">
+ <annotation>
+ <documentation>
+ One point in a diagram. Could define one bar in a bar
+ chart.
+ </documentation>
+ </annotation>
+ <attribute name="x" type="double" use="required"/>
+ <attribute name="y" type="double" use="required"/>
+ <attribute name="oid" type="NCName"/>
+ </complexType>
+
+ <complexType name="datarect_type">
+ <annotation>
+ <documentation>
+ One rect in a diagram. Used in timeline-diagram for
+ usage-prediction in llview. (x,y) is upper left corner of the rect.
+ </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:datapoint_type">
+ <attribute name="w" type="double" use="required">
+ <annotation>
+ <documentation>width</documentation>
+ </annotation>
+ </attribute>
+ <attribute name="h" type="double" use="required">
+ <annotation>
+ <documentation>height</documentation>
+ </annotation>
+ </attribute>
+ <attribute name="text" type="string">
+ <annotation>
+ <documentation>This text should be shown within the rect if possible</documentation>
+ </annotation>
+</attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="datacollection_type">
+ <annotation>
+ <documentation>Defines a set of datapoints and datarects.
+Saves real data of a diagram.</documentation>
+ </annotation>
+ <sequence maxOccurs="unbounded" minOccurs="0">
+ <element maxOccurs="unbounded" minOccurs="0" name="p" type="lml:datapoint_type">
+ </element>
+ <element maxOccurs="unbounded" minOccurs="0" name="r" type="lml:datarect_type">
+ </element>
+ </sequence>
+ <attribute name="name" type="string"/>
+ <attribute name="description" type="string"/>
+ </complexType>
+
+ <complexType name="chartgroup_type">
+ <annotation>
+ <documentation>A group of charts. Could be displayed as overlay-diagrams.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:gobject_type">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="1" name="chart" type="lml:chart_type"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+</schema>
diff --git a/schemas/v1.0/colors.xsd b/schemas/v1.0/colors.xsd
new file mode 100644
index 0000000..6468318
--- /dev/null
+++ b/schemas/v1.0/colors.xsd
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+LML - LLView markup language
+
+
+Copyright (c) 2011 Forschungszentrum Juelich GmbH
+
+All rights reserved. This program and the accompanying materials
+
+are made available under the terms of the Eclipse Public License v1.0
+
+which accompanies this distribution and is available at
+
+http://www.eclipse.org/legal/epl-v10.html
+-->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" elementFormDefault="qualified" targetNamespace="http://www.llview.de">
+
+ <simpleType name="hexcolor_type">
+ <annotation>
+ <documentation>Defines possible color-values. Allowed values: #Ff0 #FF0000 #FA9</documentation>
+ </annotation>
+ <restriction base="string">
+ <pattern value="#((([0-9]|[a-f]|[A-F]){3})|(([0-9]|[a-f]|[A-F]){6}))"/>
+ </restriction>
+ </simpleType>
+
+ <complexType name="colorconstant_type">
+ <annotation>
+ <documentation>Definition of a color name. Connects a name like "red" width a html-like color like "#F00"</documentation>
+ </annotation>
+ <attribute name="name" type="NCName" use="required"/>
+ <attribute name="color" type="lml:hexcolor_type" use="required"/>
+ </complexType>
+
+
+ <complexType name="colordefinition_type">
+ <annotation>
+ <documentation>Collects a list of colorconstants.</documentation>
+ </annotation>
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="colorname" type="lml:colorconstant_type"/>
+ </sequence>
+ </complexType>
+
+</schema>
diff --git a/schemas/v1.0/entities.xsd b/schemas/v1.0/entities.xsd
new file mode 100644
index 0000000..e1d02f1
--- /dev/null
+++ b/schemas/v1.0/entities.xsd
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+LML - LLView markup language
+
+
+Copyright (c) 2011 Forschungszentrum Juelich GmbH
+
+All rights reserved. This program and the accompanying materials
+
+are made available under the terms of the Eclipse Public License v1.0
+
+which accompanies this distribution and is available at
+
+http://www.eclipse.org/legal/epl-v10.html
+-->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+
+
+ <include schemaLocation="colors.xsd"/>
+
+ <complexType name="entities_type">
+ <annotation>
+ <documentation>Dummy-root-object. Contains key and keyref definitions to define foreign keys and primary keys.
+Primary key is here objects/object.id . Foreign key is information/info.id</documentation>
+ </annotation>
+ <sequence>
+ <element maxOccurs="1" minOccurs="0" name="objects" type="lml:objects_type"/>
+ <element maxOccurs="1" minOccurs="0" name="information" type="lml:information_type"/>
+ </sequence>
+ </complexType>
+
+
+ <complexType name="objects_type">
+ <annotation>
+ <documentation>Collects a list of objects. Can only exist once in whole lml-file.</documentation>
+ </annotation>
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="object" type="lml:object_type"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="object_type">
+ <annotation>
+ <documentation>Defines one instance within the batch-system.
+For example one object could represent one job on the batch-system or one node.
+Even the system is one object.
+The color defines with which color this object is identified and painted.</documentation>
+ </annotation>
+ <attribute name="type" type="lml:object_name" use="required"/>
+ <attribute name="id" type="NCName" use="required"/>
+ <attribute default="#FFF" name="color" type="lml:hexcolor_type"/>
+ <attribute name="name" type="string"/>
+ </complexType>
+
+ <simpleType name="object_name">
+ <annotation>
+ <documentation>
+ Contains a list of possible types of objects in a batch
+ system.
+ </documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="job"/>
+ <enumeration value="node"/>
+ <enumeration value="system"/>
+ <enumeration value="queue"/>
+ <enumeration value="scheduler"/>
+ <enumeration value="class"/>
+ <enumeration value="partition"/>
+ <enumeration value="partmap"/>
+ <enumeration value="smallpartition"/>
+ </restriction>
+ </simpleType>
+
+ <complexType name="information_type">
+ <annotation>
+ <documentation>Collects a list of infos. Exists a most once.</documentation>
+ </annotation>
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="info" type="lml:info_type"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="info_type">
+ <annotation>
+ <documentation>
+ Is referenced to an existing object-instance by id.
+ description gives a brief idea of what this info
+ contains. Collects a list of key-value-pairs. For
+ example key="cpucount" value="290.000".
+ </documentation>
+ </annotation>
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="data" type="lml:infodata_type">
+ </element>
+ </sequence>
+ <attribute name="oid" type="NCName" use="required"/>
+ <attribute name="description" type="string"/>
+ <attribute default="notype" name="type" type="NCName">
+ <annotation>
+ <documentation>This attribute is used to distinguish between types of information. Type could be "short", "long", "unnecessary" ...
+Then you can categorize the given information.</documentation>
+ </annotation>
+</attribute>
+ </complexType>
+
+ <complexType name="infodata_type">
+ <annotation>
+ <documentation>Key value pair for information.</documentation>
+ </annotation>
+ <attribute name="key" type="string" use="required"/>
+ <attribute name="value" type="string"/>
+ </complexType>
+
+</schema>
diff --git a/schemas/v1.0/layout.xsd b/schemas/v1.0/layout.xsd
new file mode 100644
index 0000000..19a2430
--- /dev/null
+++ b/schemas/v1.0/layout.xsd
@@ -0,0 +1,712 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+LML - LLView markup language
+
+
+Copyright (c) 2011 Forschungszentrum Juelich GmbH
+
+All rights reserved. This program and the accompanying materials
+
+are made available under the terms of the Eclipse Public License v1.0
+
+which accompanies this distribution and is available at
+
+http://www.eclipse.org/legal/epl-v10.html
+-->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+
+ <include schemaLocation="nodedisplay.xsd"/>
+ <complexType name="splitlayout_type">
+ <complexContent>
+ <extension base="lml:layout_type">
+ <choice>
+ <sequence>
+ <element name="left" type="lml:pane_type"/>
+ <element name="right" type="lml:pane_type"/>
+ </sequence>
+ <sequence>
+ <element name="top" type="lml:pane_type"/>
+ <element name="bottom" type="lml:pane_type"/>
+ </sequence>
+ </choice>
+ <attribute default="0.5" name="divpos" type="lml:divpos_type"/>
+ </extension>
+ </complexContent>
+ </complexType>
+
+
+ <complexType name="pane_type">
+ <annotation>
+ <documentation>
+ Describes one side of a splitpane. This tag is later
+ transformed into a panel. You can split one panel with
+ left and right-components or top and bottom-components.
+ First split will cause a horizontal split, second will
+ cause a vertical split. The gid-attribute is for
+ referencing graphical object-id-attributes. If there are
+ child-elements for a pane, gid must not be specified.
+ Through the divpos-element you are able to set the
+ percentage of where to put the divider.
+ </documentation>
+ </annotation>
+ <sequence>
+ <sequence maxOccurs="1" minOccurs="0">
+ <element name="left" type="lml:pane_type"/>
+ <element name="right" type="lml:pane_type"/>
+ </sequence>
+ <sequence maxOccurs="1" minOccurs="0">
+ <element name="top" type="lml:pane_type"/>
+ <element name="bottom" type="lml:pane_type"/>
+ </sequence>
+ </sequence>
+ <attribute name="gid" type="string"/>
+ <attribute default="0.5" name="divpos" type="lml:divpos_type"/>
+ </complexType>
+
+ <simpleType name="divpos_type">
+ <restriction base="double">
+ <minInclusive value="0"/>
+ <maxInclusive value="1"/>
+ </restriction>
+ </simpleType>
+
+ <complexType name="layout_type">
+ <annotation>
+ <documentation>All layout-types should extend this type</documentation>
+ </annotation>
+ <attribute name="id" type="string" use="required"/>
+ </complexType>
+
+ <complexType name="abslayout_type">
+ <annotation>
+ <documentation>
+ Describes a layout with absolute coordinates. Every
+ component must be added by a comp-tag.
+ </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:layout_type">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="1" name="comp" type="lml:component_type"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="component_type">
+ <annotation>
+ <documentation>Describes the absolute position of one graphical object</documentation>
+ </annotation>
+ <attribute name="gid" type="string" use="required">
+ <annotation>
+ <documentation>connection to a graphical object</documentation>
+ </annotation>
+</attribute>
+ <attribute name="x" type="integer" use="required">
+ <annotation>
+ <documentation>left coordinate</documentation>
+ </annotation>
+</attribute>
+ <attribute name="y" type="integer" use="required">
+ <annotation>
+ <documentation>upper coordinate</documentation>
+ </annotation>
+</attribute>
+ <attribute default="100" name="w" type="nonNegativeInteger">
+ <annotation>
+ <documentation>width</documentation>
+ </annotation>
+</attribute>
+ <attribute default="100" name="h" type="nonNegativeInteger">
+ <annotation>
+ <documentation>height</documentation>
+ </annotation>
+</attribute>
+ </complexType>
+
+ <complexType name="nodedisplaylayout_type">
+ <annotation>
+ <documentation>Settings will not be inherited through hierarchy, but default layout will be set for all scheme-elements, which are not defined</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:componentlayout_type">
+ <sequence>
+ <element name="el0" type="lml:nodedisplayelement0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="componentlayout_type">
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+ identification for this component
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="gid" type="string" use="required">
+ <annotation>
+ <documentation>
+ reference to the graphical object. Layout for the
+ graphical object is defined within this tag
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="true" name="active" type="boolean">
+ <annotation>
+ <documentation>Defines if this component is active. If active is false, then no data for this graphical component has to be passed. This can be used for requesting information from server. Not active-components do not have to be filled with data from the server.</documentation>
+ </annotation>
+</attribute>
+ </complexType>
+
+ <complexType name="nodedisplayelement">
+ <annotation>
+ <documentation>
+ Contains all attributes that are equal at all levels
+ </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:element_type">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="img" type="lml:picture_type">
+ </element>
+ </sequence>
+ <attribute default="0" name="rows" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ Amount of rows of lower elements
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="8" name="cols" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ Amount of columns of lower elements. This attribute must be defined. It has a higher priority than rows.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="1" name="hgap" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ horizontal space between two lower element
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="1" name="vgap" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ vertical space between two lower elements
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="10" name="fontsize" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ size of fonts printed in this element (for
+ example a title)
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="1" name="border" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ pixels printed for a border around
+ rectangles
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="Monospaced" name="fontfamily" type="string">
+ <annotation>
+ <documentation>
+ Font used for title
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="false" name="showtitle" type="boolean">
+ <annotation>
+ <documentation>
+ if true => title for elements of this level
+ are shown, otherwise title is hidden
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="#EFEFEF" name="titlebackground" type="lml:hexcolor_type">
+ <annotation>
+ <documentation>
+ background-color for title-label
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="#FFF" name="background" type="lml:hexcolor_type">
+ <annotation>
+ <documentation>
+ background-color for this element
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="maxlevel" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ maximum of levels which are printed in
+ output, absolute value (maxlevel=3 means all
+ elements till level 3 included are printed)
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="2" name="mouseborder" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ border printed when mouse-over this
+ component
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="true" name="transparent" type="boolean">
+ <annotation>
+ <documentation>
+ Defines if this panel is drawn
+ transparently. Upper-level paintings can
+ then be seen. If transparent == false => the
+ whole rectangle is painted by the specific
+ panel on its own.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="#000" name="bordercolor" type="lml:hexcolor_type">
+ <annotation>
+ <documentation>
+ Color of the border around inner panels.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="true" name="showfulltitle" type="boolean">
+ <annotation>
+ <documentation>
+ If true full implicit name over all levels
+ of tree is shown, otherwise implicit name is
+ only generated over current level
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="false" name="highestrowfirst" type="boolean">
+ <annotation>
+ <documentation>Defines the input order of rows within nodedisplaypanel. if true, the row with the highest id is inserted first</documentation>
+ </annotation>
+</attribute>
+ <attribute default="false" name="highestcolfirst" type="boolean">
+ <annotation>
+ <documentation>Defines the input order of columns within nodedisplaypanel. if true, the column with the highest id is inserted first. Then the first cell within a panel has the highest id of the whole row.</documentation>
+ </annotation>
+</attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="picture_type">
+ <annotation>
+ <documentation>
+ describes a picture, which can be aligned
+ </documentation>
+ </annotation>
+ <attribute name="src" type="anyURI" use="required">
+ <annotation>
+ <documentation>
+ location where to find the picture, only pictures on
+ the same webserver where the applet lies are allowed
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="CENTER" name="align" type="lml:align_type">
+ <annotation>
+ <documentation>Position of the picture</documentation>
+ </annotation>
+ </attribute>
+ <attribute default="0.1" name="width" type="lml:percent_type">
+ <annotation>
+ <documentation>
+ width of the picture in percent corresponding to
+ surrounding panel
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="0.1" name="height" type="lml:percent_type">
+ <annotation>
+ <documentation>
+ height of the picture in percent corresponding to
+ surrounding panel
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="CENTER" name="inneralign" type="lml:align_type">
+ <annotation>
+ <documentation>align is for positioning the image around the display-panel of one physical element. inner-align is for positioning the picture within its rectangle</documentation>
+ </annotation>
+</attribute>
+ </complexType>
+
+ <complexType name="nodedisplayelement0">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el1" type="lml:nodedisplayelement1"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="nodedisplayelement1">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el2" type="lml:nodedisplayelement2"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="nodedisplayelement2">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el3" type="lml:nodedisplayelement3"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="nodedisplayelement3">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el4" type="lml:nodedisplayelement4"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="nodedisplayelement4">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el5" type="lml:nodedisplayelement5"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="nodedisplayelement5">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el6" type="lml:nodedisplayelement6"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="nodedisplayelement6">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el7" type="lml:nodedisplayelement7"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="nodedisplayelement7">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el8" type="lml:nodedisplayelement8"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="nodedisplayelement8">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el9" type="lml:nodedisplayelement9"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="nodedisplayelement9">
+ <complexContent>
+ <extension base="lml:nodedisplayelement">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el10" type="lml:nodedisplayelement"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+
+ <simpleType name="align_type">
+ <restriction base="string">
+ <enumeration value="WEST"/>
+ <enumeration value="EAST"/>
+ <enumeration value="NORTH"/>
+ <enumeration value="SOUTH"/>
+ <enumeration value="CENTER"/>
+ </restriction>
+ </simpleType>
+
+ <simpleType name="percent_type">
+ <restriction base="double">
+ <minInclusive value="0"/>
+ <maxInclusive value="1"/>
+ </restriction>
+ </simpleType>
+
+
+ <complexType name="usagebarlayout_type">
+ <annotation>
+ <documentation>
+ Define special layout-options for a usagebar
+ </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:componentlayout_type">
+ <attribute default="nodes" name="scale">
+ <annotation>
+ <documentation>
+ defines which scale should be used. "nodes"
+ means the scale will be displayed in the
+ unit nodes, "cpus" means the scale will show
+ cpus as unit
+ </documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="nodes"/>
+ <enumeration value="cpus"/>
+ </restriction>
+ </simpleType>
+ </attribute>
+ <attribute default="4" name="interval" type="positiveInteger">
+ <annotation>
+ <documentation>defines the distance between two scale-lines, in other words two tics on the axis</documentation>
+ </annotation>
+</attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="chartlayout_type">
+ <annotation>
+ <documentation>
+ Definition of layout-tag for charts
+ </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:componentlayout_type">
+ <attribute default="0" name="border" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ border in pixels, which is painted around
+ every bar of a chart
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="true" name="showlegend" type="boolean">
+ <annotation>
+ <documentation>
+ if true, legend is shown, otherwise no
+ legend is painted
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="#FFF" name="backgroundcolor" type="lml:hexcolor_type">
+ <annotation>
+ <documentation>
+ Background-color of the chart, usually white
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="#AAA" name="innerbackgroundcolor" type="lml:hexcolor_type">
+ <annotation>
+ <documentation>
+ background-color of rectangle, in which the
+ main diagram is painted
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="#555" name="axescolor" type="lml:hexcolor_type">
+ <annotation>
+ <documentation>Color of axes</documentation>
+ </annotation>
+ </attribute>
+ <attribute default="#000" name="bordercolor" type="lml:hexcolor_type">
+ <annotation>
+ <documentation>
+ color of borders around rectangles painted
+ inside the diagram
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="#555" name="gridcolor" type="lml:hexcolor_type">
+ <annotation>
+ <documentation>
+ Color of gridlines, which are painted at
+ every tic if wanted
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="true" name="cutpaint" type="boolean">
+ <annotation>
+ <documentation>If true, rects and bars outside the diagrams view are not displayed, otherwise rects are painted outside the diagram area if needed</documentation>
+ </annotation>
+</attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="tablelayout_type">
+ <annotation>
+ <documentation>Layout for a table</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:componentlayout_type">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="column" type="lml:columnlayout_type"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="columnlayout_type">
+ <annotation>
+ <documentation>
+ Layout-definitions for exactly one column of a table.
+ Defines where to position the column, width and if this
+ column is sorted
+ </documentation>
+ </annotation>
+ <attribute name="cid" type="positiveInteger" use="required">
+ <annotation>
+ <documentation>
+ Reference to the data-column of the table, for which
+ this component defines the layout
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="pos" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ Position of this column among all other columns.
+ This attribute begins with 0. If position is not
+ defined, the applet can decide where to put the
+ column. Usually it will keep the order defined by
+ the data-part of this table.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="width">
+ <annotation>
+ <documentation>
+ Width of this column in percent corresponding to the
+ width of the panel, which shows this table.
+ </documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="double">
+ <minInclusive value="0"/>
+ <maxInclusive value="1"/>
+ </restriction>
+ </simpleType>
+ </attribute>
+ <attribute default="false" name="sorted" type="lml:columnsortedtype">
+ <annotation>
+ <documentation>
+ Defines if the table-content is sorted by this
+ column.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="true" name="active" type="boolean">
+ <annotation>
+ <documentation>
+ This attribute defines if this column should be
+ shown. If not data for this column must not be
+ transmitted for data-transmission reduction.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="key" type="string">
+ <annotation>
+ <documentation>Defines the name of an attribute, which is shown in the table in this column. This is comparable with the name-attribute within the table-tag. The values do not have to be equal. The key-attribute is needed</documentation>
+ </annotation>
+</attribute>
+ </complexType>
+
+
+ <simpleType name="columnsortedtype">
+ <restriction base="string">
+ <enumeration value="asc"/>
+ <enumeration value="desc"/>
+ <enumeration value="false"/>
+ </restriction>
+ </simpleType>
+
+ <complexType name="infoboxlayout_type">
+ <complexContent>
+ <extension base="lml:componentlayout_type">
+ <sequence>
+ <element maxOccurs="1" minOccurs="0" name="typecol" type="lml:infoboxlayout_coltype">
+ <annotation>
+ <documentation>this element defines properties for the column containing the keys of information</documentation>
+ </annotation>
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="infocol" type="lml:infoboxlayout_coltype">
+ <annotation>
+ <documentation>this element defines properties for the column containing the values of information</documentation>
+ </annotation>
+</element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="infoboxlayout_coltype">
+ <attribute name="pos" type="lml:integer01type">
+ <annotation>
+ <documentation>
+ position of column in view
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="0.5" name="width">
+ <annotation>
+ <documentation>
+ width of column in percent
+ </documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="double">
+ <minInclusive value="0"/>
+ <maxInclusive value="1"/>
+ </restriction>
+ </simpleType>
+ </attribute>
+ <attribute default="false" name="sorted" type="lml:columnsortedtype">
+ <annotation>
+ <documentation>defines if infos are sorted by this column</documentation>
+ </annotation>
+</attribute>
+ </complexType>
+
+ <simpleType name="integer01type">
+ <annotation>
+ <documentation>integer values, where only e aus [0,1] is allowed ={0,1}, is used for infoboxlayout_coltype</documentation>
+ </annotation>
+ <restriction base="nonNegativeInteger">
+ <minInclusive value="0"/>
+ <maxInclusive value="1"/>
+ </restriction>
+ </simpleType>
+</schema>
diff --git a/schemas/v1.0/lgui.xsd b/schemas/v1.0/lgui.xsd
new file mode 100644
index 0000000..7385c23
--- /dev/null
+++ b/schemas/v1.0/lgui.xsd
@@ -0,0 +1,537 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+LML - LLView markup language
+
+
+Copyright (c) 2011 Forschungszentrum Juelich GmbH
+
+All rights reserved. This program and the accompanying materials
+
+are made available under the terms of the Eclipse Public License v1.0
+
+which accompanies this distribution and is available at
+
+http://www.eclipse.org/legal/epl-v10.html
+-->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+ <include schemaLocation="layout.xsd"/>
+ <include schemaLocation="nodedisplay.xsd"/>
+ <include schemaLocation="relation.xsd"/>
+ <include schemaLocation="chart.xsd"/>
+ <include schemaLocation="textboxes.xsd"/>
+ <include schemaLocation="usagebar.xsd"/>
+ <include schemaLocation="table.xsd"/>
+ <include schemaLocation="entities.xsd"/>
+ <include schemaLocation="layout.xsd"/>
+ <include schemaLocation="request.xsd"/>
+ <annotation>
+ <documentation>Defines root-object of lml.
+ Other objects like table,
+ information or charts are child-tags of this
+ object.
+ Defines global
+ constraints, keys and keyrefs.</documentation>
+ </annotation>
+
+ <complexType name="lgui_type">
+ <annotation>
+ <documentation>
+ Defines which main tags are allowed in LML.
+ </documentation>
+ </annotation>
+
+ <!-- table of content elements -->
+ <sequence maxOccurs="1" minOccurs="0">
+
+ <element maxOccurs="1" minOccurs="0" name="request" type="lml:RequestType"/>
+
+
+ <sequence maxOccurs="unbounded" minOccurs="0">
+
+ <!-- graphical objects -->
+ <sequence maxOccurs="1" minOccurs="0">
+
+ <element maxOccurs="1" minOccurs="0" name="objects" type="lml:objects_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="relations" type="lml:relations_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="information" type="lml:information_type">
+ </element>
+
+ <element maxOccurs="1" minOccurs="0" name="table" type="lml:table_type">
+
+ <!-- cid-attributes must refer to an existing columnID -->
+ <key name="columnID">
+ <selector xpath="column"/>
+ <field xpath="@id"/>
+ </key>
+
+ <keyref name="cellRef" refer="lml:columnID">
+ <selector xpath="row/cell"/>
+ <field xpath="@cid"/>
+ </keyref>
+
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="usagebar" type="lml:usagebar_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="text" type="lml:textbox_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="infobox" type="lml:infobox_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="nodedisplay" type="lml:nodedisplay">
+
+ <!--
+ tagnames within scheme-tag are keys <key name="tagnameKey">
+ <selector xpath="scheme/el1 | scheme/el1/el2 | scheme/el1/el2/el3
+ | scheme/el1/el2/el3/el4| scheme/el1/el2/el3/el4/el5|
+ scheme/el1/el2/el3/el4/el5/el6|
+ scheme/el1/el2/el3/el4/el5/el6/el7|
+ scheme/el1/el2/el3/el4/el5/el6/el7/el8|
+ scheme/el1/el2/el3/el4/el5/el6/el7/el8/el9|
+ scheme/el1/el2/el3/el4/el5/el6/el7/el8/el9/el10" /> <field
+ xpath="@tagname" /> </key> does not work correctly
+ -->
+
+ <!--
+ tagname-references in data-tag <keyref name="tagnameKeyRef"
+ refer="lml:tagnameKey"> <selector xpath="data/el1 | data/el1/el2
+ | data/el1/el2/el3 | data/el1/el2/el3/el4|
+ data/el1/el2/el3/el4/el5| data/el1/el2/el3/el4/el5/el6|
+ data/el1/el2/el3/el4/el5/el6/el7|
+ data/el1/el2/el3/el4/el5/el6/el7/el8|
+ data/el1/el2/el3/el4/el5/el6/el7/el8/el9|
+ data/el1/el2/el3/el4/el5/el6/el7/el8/el9/el10" /> <field
+ xpath="@tagname" /> </keyref>
+ -->
+
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="chart" type="lml:chart_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="chartgroup" type="lml:chartgroup_type">
+ </element>
+ </sequence>
+
+ <!-- layouts -->
+
+ <sequence maxOccurs="1" minOccurs="0">
+ <element maxOccurs="1" minOccurs="0" name="splitlayout" type="lml:splitlayout_type">
+
+ <!-- every gobj can only be shown once -->
+ <unique name="gidOnlyOnceInSplitLayout">
+ <selector xpath=".//*"/>
+ <field xpath="@gid"/>
+ </unique>
+
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="abslayout" type="lml:abslayout_type">
+ <!-- every gobj can only be shown once -->
+ <unique name="gidOnlyOnceInabsLayout">
+ <selector xpath="comp"/>
+ <field xpath="@gid"/>
+ </unique>
+
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="nodedisplaylayout" type="lml:nodedisplaylayout_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="usagebarlayout" type="lml:usagebarlayout_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="chartlayout" type="lml:chartlayout_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="tablelayout" type="lml:tablelayout_type">
+ <!--
+ pos-attributes must be unique in every tablelayout. no position
+ can be occupied by two columns
+ -->
+ <unique name="PosUnique">
+ <selector xpath="column"/>
+ <field xpath="@pos"/>
+ </unique>
+
+ <!--
+ cid-attributes must be unique in every tablelayout. multiple
+ definitions for columns are not allowed
+ -->
+ <unique name="CidUnique">
+ <selector xpath="column"/>
+ <field xpath="@cid"/>
+ </unique>
+
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="infoboxlayout" type="lml:infoboxlayout_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="textlayout" type="lml:infoboxlayout_type">
+ </element>
+ </sequence>
+
+ </sequence>
+
+ </sequence>
+ <attribute name="version" type="string"/>
+ <attribute default="false" name="layout" type="boolean" use="optional">
+ <annotation>
+ <documentation>This attribute defines, if this lml-file mainly
+ contains layout-information.
+ If layout-value is true, then only
+ layout-tags are checked. Therefore
+ graphical objects
+ do not have to
+ be valid against XSL-checks in a layout-lml-file.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+
+ <element name="lgui" type="lml:lgui_type">
+
+ <annotation>
+ <documentation>Root-tag of LML-scheme.</documentation>
+ </annotation>
+
+ <!-- referential integrity covered with key, keyref and unique-tags -->
+
+ <!-- All graphical-objects have to have unique ids-->
+ <key name="graphObjKey">
+ <selector xpath="table|usagebar|text|infobox|nodedisplay|.//chart|chartgroup"/>
+ <field xpath="@id"/>
+ </key>
+
+ <!-- nodedisplayref-tags refer to a nodedisplay -->
+ <key name="nodedisplayKey">
+ <selector xpath="nodedisplay"/>
+ <field xpath="@id"/>
+ </key>
+
+ <key name="usagebarKey">
+ <selector xpath="usagebar"/>
+ <field xpath="@id"/>
+ </key>
+
+ <key name="chartKey">
+ <selector xpath=".//chart"/>
+ <field xpath="@id"/>
+ </key>
+
+ <key name="tableKey">
+ <selector xpath="table"/>
+ <field xpath="@id"/>
+ </key>
+
+ <key name="infoboxKey">
+ <selector xpath="infobox"/>
+ <field xpath="@id"/>
+ </key>
+
+ <key name="textKey">
+ <selector xpath="text"/>
+ <field xpath="@id"/>
+ </key>
+
+ <key name="layoutIDs">
+ <selector xpath="splitlayout|abslayout"/>
+ <field xpath="@id"/>
+ </key>
+
+ <!--
+ following two definitions are needed for every component-layout-type
+ -->
+ <!--
+ id of nodedisplaylayout must identify layout among other
+ nodedisplaylayouts
+ -->
+ <key name="nodedisplaylayoutkey">
+ <selector xpath="nodedisplaylayout"/>
+ <field xpath="@id"/>
+ </key>
+ <!-- nodedisplaylayouts only refer to nodedisplays through gid -->
+ <keyref name="nodedisplaylayoutgid" refer="lml:nodedisplayKey">
+ <selector xpath="nodedisplaylayout"/>
+ <field xpath="@gid"/>
+ </keyref>
+
+ <!--
+ id of usagebarlayout must identify layout among other usagebarlayout
+ -->
+ <key name="usagebarlayoutkey">
+ <selector xpath="usagebarlayout"/>
+ <field xpath="@id"/>
+ </key>
+ <!-- usagebarlayouts only refer to usagebars through gid -->
+ <keyref name="usagebarlayoutgid" refer="lml:usagebarKey">
+ <selector xpath="usagebarlayout"/>
+ <field xpath="@gid"/>
+ </keyref>
+
+ <!-- id of chartlayout must identify layout among other chartlayout -->
+ <key name="chartlayoutkey">
+ <selector xpath="chartlayout"/>
+ <field xpath="@id"/>
+ </key>
+ <!-- chartlayouts only refer to charts through gid -->
+ <keyref name="chartlayoutgid" refer="lml:chartKey">
+ <selector xpath="chartlayout"/>
+ <field xpath="@gid"/>
+ </keyref>
+
+ <!-- id of tablelayout must identify layout among other tablelayouts -->
+ <key name="tablelayoutkey">
+ <selector xpath="tablelayout"/>
+ <field xpath="@id"/>
+ </key>
+ <!-- tablelayouts only refer to tables through gid -->
+ <keyref name="tablelayoutgid" refer="lml:tableKey">
+ <selector xpath="tablelayout"/>
+ <field xpath="@gid"/>
+ </keyref>
+
+ <!--
+ id of infoboxlayout must identify layout among other infoboxlayouts
+ -->
+ <key name="infoboxlayoutkey">
+ <selector xpath="infoboxlayout"/>
+ <field xpath="@id"/>
+ </key>
+ <!-- infoboxlayouts only refer to infoboxes through gid -->
+ <keyref name="infoboxlayoutgid" refer="lml:infoboxKey">
+ <selector xpath="infoboxlayout"/>
+ <field xpath="@gid"/>
+ </keyref>
+
+ <!-- id of textlayout must identify layout among other textlayouts -->
+ <key name="textlayoutkey">
+ <selector xpath="textlayout"/>
+ <field xpath="@id"/>
+ </key>
+ <!-- textlayouts only refer to text-objects through gid -->
+ <keyref name="textlayoutgid" refer="lml:textKey">
+ <selector xpath="textlayout"/>
+ <field xpath="@gid"/>
+ </keyref>
+
+
+
+ <!-- layout references -->
+ <keyref name="gidAttributesReference" refer="lml:graphObjKey">
+ <selector xpath=".//left|.//right|.//top|.//bottom|.//comp"/>
+ <field xpath="@gid"/>
+ </keyref>
+
+ <keyref name="nodedisplayRef" refer="lml:nodedisplayKey">
+ <selector xpath="nodedisplay"/>
+ <field xpath="@refto"/>
+ </keyref>
+
+ <keyref name="nodeNameRef1" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <keyref name="nodeNameRef2" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <keyref name="nodeNameRef3" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <keyref name="nodeNameRef4" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <keyref name="nodeNameRef5" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <keyref name="nodeNameRef6" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <keyref name="nodeNameRef7" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <keyref name="nodeNameRef8" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/el8"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <keyref name="nodeNameRef9" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/el8/el9"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <keyref name="nodeNameRef10" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/el8/el9/el10"/>
+ <field xpath="@name"/>
+ </keyref>
+
+
+ <!-- IDs of objects in object-tag -->
+ <key name="objectId">
+ <selector xpath="objects/object"/>
+ <field xpath="@id"/>
+ </key>
+
+ <!-- IDs for relations must be unique -->
+ <unique name="relidsUnique">
+ <selector xpath="relations/rel"/>
+ <field xpath="@id"/>
+ </unique>
+
+ <keyref name="relationkeyids" refer="lml:objectId">
+ <selector xpath="relations/rel"/>
+ <field xpath="@keyid"/>
+ </keyref>
+
+ <keyref name="relationElementids" refer="lml:objectId">
+ <selector xpath="relations/rel/el"/>
+ <field xpath="@refid"/>
+ </keyref>
+
+ <keyref name="infoRef" refer="lml:objectId">
+ <selector xpath="information/info"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="rowRef" refer="lml:objectId">
+ <selector xpath="table/row"/>
+ <field xpath="@id"/>
+ </keyref>
+
+ <keyref name="usageJobRef" refer="lml:objectId">
+ <selector xpath="usagebar/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="chartJobRef" refer="lml:objectId">
+ <selector xpath="chart/data/r | chart/data/p | chartgroup/chart/data/r | chartgroup/chart/data/p"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <!-- usage-contents have to refer to object-ids -->
+
+ <keyref name="UsageNodeDisplayJobRef1" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="UsageNodeDisplayJobRef2" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="UsageNodeDisplayJobRef3" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="UsageNodeDisplayJobRef4" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="UsageNodeDisplayJobRef5" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="UsageNodeDisplayJobRef6" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="UsageNodeDisplayJobRef7" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="UsageNodeDisplayJobRef8" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/el8/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="UsageNodeDisplayJobRef9" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/el8/el9/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="UsageNodeDisplayJobRef10" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/el8/el9/el10/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <!-- oid-references have to be valid against object-definitions -->
+
+ <keyref name="nodeDisplayJobRef1" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="nodeDisplayJobRef2" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="nodeDisplayJobRef3" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="nodeDisplayJobRef4" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="nodeDisplayJobRef5" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="nodeDisplayJobRef6" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="nodeDisplayJobRef7" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="nodeDisplayJobRef8" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/el8"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="nodeDisplayJobRef9" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/el8/el9"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="nodeDisplayJobRef10" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/el8/el9/el10"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+
+
+ </element>
+
+ <complexType name="gobject_type">
+ <annotation>
+ <documentation>Abstract type for all graphical objects. All graphical
+ objects like table, usagebar etc. have to have ids.
+ This is defined
+ by extending all graphical objects from this type.
+ </documentation>
+ </annotation>
+ <attribute name="id" type="string" use="required"/>
+ <attribute name="title" type="string"/>
+ <attribute name="description" type="string"/>
+ </complexType>
+
+</schema>
diff --git a/schemas/v1.0/lml.xsd b/schemas/v1.0/lml.xsd
new file mode 100644
index 0000000..7385c23
--- /dev/null
+++ b/schemas/v1.0/lml.xsd
@@ -0,0 +1,537 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+LML - LLView markup language
+
+
+Copyright (c) 2011 Forschungszentrum Juelich GmbH
+
+All rights reserved. This program and the accompanying materials
+
+are made available under the terms of the Eclipse Public License v1.0
+
+which accompanies this distribution and is available at
+
+http://www.eclipse.org/legal/epl-v10.html
+-->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+ <include schemaLocation="layout.xsd"/>
+ <include schemaLocation="nodedisplay.xsd"/>
+ <include schemaLocation="relation.xsd"/>
+ <include schemaLocation="chart.xsd"/>
+ <include schemaLocation="textboxes.xsd"/>
+ <include schemaLocation="usagebar.xsd"/>
+ <include schemaLocation="table.xsd"/>
+ <include schemaLocation="entities.xsd"/>
+ <include schemaLocation="layout.xsd"/>
+ <include schemaLocation="request.xsd"/>
+ <annotation>
+ <documentation>Defines root-object of lml.
+ Other objects like table,
+ information or charts are child-tags of this
+ object.
+ Defines global
+ constraints, keys and keyrefs.</documentation>
+ </annotation>
+
+ <complexType name="lgui_type">
+ <annotation>
+ <documentation>
+ Defines which main tags are allowed in LML.
+ </documentation>
+ </annotation>
+
+ <!-- table of content elements -->
+ <sequence maxOccurs="1" minOccurs="0">
+
+ <element maxOccurs="1" minOccurs="0" name="request" type="lml:RequestType"/>
+
+
+ <sequence maxOccurs="unbounded" minOccurs="0">
+
+ <!-- graphical objects -->
+ <sequence maxOccurs="1" minOccurs="0">
+
+ <element maxOccurs="1" minOccurs="0" name="objects" type="lml:objects_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="relations" type="lml:relations_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="information" type="lml:information_type">
+ </element>
+
+ <element maxOccurs="1" minOccurs="0" name="table" type="lml:table_type">
+
+ <!-- cid-attributes must refer to an existing columnID -->
+ <key name="columnID">
+ <selector xpath="column"/>
+ <field xpath="@id"/>
+ </key>
+
+ <keyref name="cellRef" refer="lml:columnID">
+ <selector xpath="row/cell"/>
+ <field xpath="@cid"/>
+ </keyref>
+
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="usagebar" type="lml:usagebar_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="text" type="lml:textbox_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="infobox" type="lml:infobox_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="nodedisplay" type="lml:nodedisplay">
+
+ <!--
+ tagnames within scheme-tag are keys <key name="tagnameKey">
+ <selector xpath="scheme/el1 | scheme/el1/el2 | scheme/el1/el2/el3
+ | scheme/el1/el2/el3/el4| scheme/el1/el2/el3/el4/el5|
+ scheme/el1/el2/el3/el4/el5/el6|
+ scheme/el1/el2/el3/el4/el5/el6/el7|
+ scheme/el1/el2/el3/el4/el5/el6/el7/el8|
+ scheme/el1/el2/el3/el4/el5/el6/el7/el8/el9|
+ scheme/el1/el2/el3/el4/el5/el6/el7/el8/el9/el10" /> <field
+ xpath="@tagname" /> </key> does not work correctly
+ -->
+
+ <!--
+ tagname-references in data-tag <keyref name="tagnameKeyRef"
+ refer="lml:tagnameKey"> <selector xpath="data/el1 | data/el1/el2
+ | data/el1/el2/el3 | data/el1/el2/el3/el4|
+ data/el1/el2/el3/el4/el5| data/el1/el2/el3/el4/el5/el6|
+ data/el1/el2/el3/el4/el5/el6/el7|
+ data/el1/el2/el3/el4/el5/el6/el7/el8|
+ data/el1/el2/el3/el4/el5/el6/el7/el8/el9|
+ data/el1/el2/el3/el4/el5/el6/el7/el8/el9/el10" /> <field
+ xpath="@tagname" /> </keyref>
+ -->
+
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="chart" type="lml:chart_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="chartgroup" type="lml:chartgroup_type">
+ </element>
+ </sequence>
+
+ <!-- layouts -->
+
+ <sequence maxOccurs="1" minOccurs="0">
+ <element maxOccurs="1" minOccurs="0" name="splitlayout" type="lml:splitlayout_type">
+
+ <!-- every gobj can only be shown once -->
+ <unique name="gidOnlyOnceInSplitLayout">
+ <selector xpath=".//*"/>
+ <field xpath="@gid"/>
+ </unique>
+
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="abslayout" type="lml:abslayout_type">
+ <!-- every gobj can only be shown once -->
+ <unique name="gidOnlyOnceInabsLayout">
+ <selector xpath="comp"/>
+ <field xpath="@gid"/>
+ </unique>
+
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="nodedisplaylayout" type="lml:nodedisplaylayout_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="usagebarlayout" type="lml:usagebarlayout_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="chartlayout" type="lml:chartlayout_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="tablelayout" type="lml:tablelayout_type">
+ <!--
+ pos-attributes must be unique in every tablelayout. no position
+ can be occupied by two columns
+ -->
+ <unique name="PosUnique">
+ <selector xpath="column"/>
+ <field xpath="@pos"/>
+ </unique>
+
+ <!--
+ cid-attributes must be unique in every tablelayout. multiple
+ definitions for columns are not allowed
+ -->
+ <unique name="CidUnique">
+ <selector xpath="column"/>
+ <field xpath="@cid"/>
+ </unique>
+
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="infoboxlayout" type="lml:infoboxlayout_type">
+ </element>
+ <element maxOccurs="1" minOccurs="0" name="textlayout" type="lml:infoboxlayout_type">
+ </element>
+ </sequence>
+
+ </sequence>
+
+ </sequence>
+ <attribute name="version" type="string"/>
+ <attribute default="false" name="layout" type="boolean" use="optional">
+ <annotation>
+ <documentation>This attribute defines, if this lml-file mainly
+ contains layout-information.
+ If layout-value is true, then only
+ layout-tags are checked. Therefore
+ graphical objects
+ do not have to
+ be valid against XSL-checks in a layout-lml-file.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+
+ <element name="lgui" type="lml:lgui_type">
+
+ <annotation>
+ <documentation>Root-tag of LML-scheme.</documentation>
+ </annotation>
+
+ <!-- referential integrity covered with key, keyref and unique-tags -->
+
+ <!-- All graphical-objects have to have unique ids-->
+ <key name="graphObjKey">
+ <selector xpath="table|usagebar|text|infobox|nodedisplay|.//chart|chartgroup"/>
+ <field xpath="@id"/>
+ </key>
+
+ <!-- nodedisplayref-tags refer to a nodedisplay -->
+ <key name="nodedisplayKey">
+ <selector xpath="nodedisplay"/>
+ <field xpath="@id"/>
+ </key>
+
+ <key name="usagebarKey">
+ <selector xpath="usagebar"/>
+ <field xpath="@id"/>
+ </key>
+
+ <key name="chartKey">
+ <selector xpath=".//chart"/>
+ <field xpath="@id"/>
+ </key>
+
+ <key name="tableKey">
+ <selector xpath="table"/>
+ <field xpath="@id"/>
+ </key>
+
+ <key name="infoboxKey">
+ <selector xpath="infobox"/>
+ <field xpath="@id"/>
+ </key>
+
+ <key name="textKey">
+ <selector xpath="text"/>
+ <field xpath="@id"/>
+ </key>
+
+ <key name="layoutIDs">
+ <selector xpath="splitlayout|abslayout"/>
+ <field xpath="@id"/>
+ </key>
+
+ <!--
+ following two definitions are needed for every component-layout-type
+ -->
+ <!--
+ id of nodedisplaylayout must identify layout among other
+ nodedisplaylayouts
+ -->
+ <key name="nodedisplaylayoutkey">
+ <selector xpath="nodedisplaylayout"/>
+ <field xpath="@id"/>
+ </key>
+ <!-- nodedisplaylayouts only refer to nodedisplays through gid -->
+ <keyref name="nodedisplaylayoutgid" refer="lml:nodedisplayKey">
+ <selector xpath="nodedisplaylayout"/>
+ <field xpath="@gid"/>
+ </keyref>
+
+ <!--
+ id of usagebarlayout must identify layout among other usagebarlayout
+ -->
+ <key name="usagebarlayoutkey">
+ <selector xpath="usagebarlayout"/>
+ <field xpath="@id"/>
+ </key>
+ <!-- usagebarlayouts only refer to usagebars through gid -->
+ <keyref name="usagebarlayoutgid" refer="lml:usagebarKey">
+ <selector xpath="usagebarlayout"/>
+ <field xpath="@gid"/>
+ </keyref>
+
+ <!-- id of chartlayout must identify layout among other chartlayout -->
+ <key name="chartlayoutkey">
+ <selector xpath="chartlayout"/>
+ <field xpath="@id"/>
+ </key>
+ <!-- chartlayouts only refer to charts through gid -->
+ <keyref name="chartlayoutgid" refer="lml:chartKey">
+ <selector xpath="chartlayout"/>
+ <field xpath="@gid"/>
+ </keyref>
+
+ <!-- id of tablelayout must identify layout among other tablelayouts -->
+ <key name="tablelayoutkey">
+ <selector xpath="tablelayout"/>
+ <field xpath="@id"/>
+ </key>
+ <!-- tablelayouts only refer to tables through gid -->
+ <keyref name="tablelayoutgid" refer="lml:tableKey">
+ <selector xpath="tablelayout"/>
+ <field xpath="@gid"/>
+ </keyref>
+
+ <!--
+ id of infoboxlayout must identify layout among other infoboxlayouts
+ -->
+ <key name="infoboxlayoutkey">
+ <selector xpath="infoboxlayout"/>
+ <field xpath="@id"/>
+ </key>
+ <!-- infoboxlayouts only refer to infoboxes through gid -->
+ <keyref name="infoboxlayoutgid" refer="lml:infoboxKey">
+ <selector xpath="infoboxlayout"/>
+ <field xpath="@gid"/>
+ </keyref>
+
+ <!-- id of textlayout must identify layout among other textlayouts -->
+ <key name="textlayoutkey">
+ <selector xpath="textlayout"/>
+ <field xpath="@id"/>
+ </key>
+ <!-- textlayouts only refer to text-objects through gid -->
+ <keyref name="textlayoutgid" refer="lml:textKey">
+ <selector xpath="textlayout"/>
+ <field xpath="@gid"/>
+ </keyref>
+
+
+
+ <!-- layout references -->
+ <keyref name="gidAttributesReference" refer="lml:graphObjKey">
+ <selector xpath=".//left|.//right|.//top|.//bottom|.//comp"/>
+ <field xpath="@gid"/>
+ </keyref>
+
+ <keyref name="nodedisplayRef" refer="lml:nodedisplayKey">
+ <selector xpath="nodedisplay"/>
+ <field xpath="@refto"/>
+ </keyref>
+
+ <keyref name="nodeNameRef1" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <keyref name="nodeNameRef2" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <keyref name="nodeNameRef3" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <keyref name="nodeNameRef4" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <keyref name="nodeNameRef5" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <keyref name="nodeNameRef6" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <keyref name="nodeNameRef7" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <keyref name="nodeNameRef8" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/el8"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <keyref name="nodeNameRef9" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/el8/el9"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <keyref name="nodeNameRef10" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/el8/el9/el10"/>
+ <field xpath="@name"/>
+ </keyref>
+
+
+ <!-- IDs of objects in object-tag -->
+ <key name="objectId">
+ <selector xpath="objects/object"/>
+ <field xpath="@id"/>
+ </key>
+
+ <!-- IDs for relations must be unique -->
+ <unique name="relidsUnique">
+ <selector xpath="relations/rel"/>
+ <field xpath="@id"/>
+ </unique>
+
+ <keyref name="relationkeyids" refer="lml:objectId">
+ <selector xpath="relations/rel"/>
+ <field xpath="@keyid"/>
+ </keyref>
+
+ <keyref name="relationElementids" refer="lml:objectId">
+ <selector xpath="relations/rel/el"/>
+ <field xpath="@refid"/>
+ </keyref>
+
+ <keyref name="infoRef" refer="lml:objectId">
+ <selector xpath="information/info"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="rowRef" refer="lml:objectId">
+ <selector xpath="table/row"/>
+ <field xpath="@id"/>
+ </keyref>
+
+ <keyref name="usageJobRef" refer="lml:objectId">
+ <selector xpath="usagebar/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="chartJobRef" refer="lml:objectId">
+ <selector xpath="chart/data/r | chart/data/p | chartgroup/chart/data/r | chartgroup/chart/data/p"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <!-- usage-contents have to refer to object-ids -->
+
+ <keyref name="UsageNodeDisplayJobRef1" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="UsageNodeDisplayJobRef2" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="UsageNodeDisplayJobRef3" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="UsageNodeDisplayJobRef4" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="UsageNodeDisplayJobRef5" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="UsageNodeDisplayJobRef6" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="UsageNodeDisplayJobRef7" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="UsageNodeDisplayJobRef8" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/el8/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="UsageNodeDisplayJobRef9" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/el8/el9/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="UsageNodeDisplayJobRef10" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/el8/el9/el10/usage/job"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <!-- oid-references have to be valid against object-definitions -->
+
+ <keyref name="nodeDisplayJobRef1" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="nodeDisplayJobRef2" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="nodeDisplayJobRef3" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="nodeDisplayJobRef4" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="nodeDisplayJobRef5" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="nodeDisplayJobRef6" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="nodeDisplayJobRef7" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="nodeDisplayJobRef8" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/el8"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="nodeDisplayJobRef9" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/el8/el9"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+ <keyref name="nodeDisplayJobRef10" refer="lml:objectId">
+ <selector xpath="nodedisplay/data/el1/el2/el3/el4/el5/el6/el7/el8/el9/el10"/>
+ <field xpath="@oid"/>
+ </keyref>
+
+
+
+ </element>
+
+ <complexType name="gobject_type">
+ <annotation>
+ <documentation>Abstract type for all graphical objects. All graphical
+ objects like table, usagebar etc. have to have ids.
+ This is defined
+ by extending all graphical objects from this type.
+ </documentation>
+ </annotation>
+ <attribute name="id" type="string" use="required"/>
+ <attribute name="title" type="string"/>
+ <attribute name="description" type="string"/>
+ </complexType>
+
+</schema>
diff --git a/schemas/v1.0/nodedisplay.xsd b/schemas/v1.0/nodedisplay.xsd
new file mode 100644
index 0000000..bfc6092
--- /dev/null
+++ b/schemas/v1.0/nodedisplay.xsd
@@ -0,0 +1,420 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+LML - LLView markup language
+
+
+Copyright (c) 2011 Forschungszentrum Juelich GmbH
+
+All rights reserved. This program and the accompanying materials
+
+are made available under the terms of the Eclipse Public License v1.0
+
+which accompanies this distribution and is available at
+
+http://www.eclipse.org/legal/epl-v10.html
+-->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+
+ <include schemaLocation="usagebar.xsd"/>
+ <include schemaLocation="lgui.xsd"/>
+ <complexType name="element_type">
+ <annotation>
+ <documentation>
+ Abstract element type for either scheme- or
+ data-elements. This element is repeated (max-min+1)
+ times, if step in the scheme-section is 1. max should be
+ higher then min. If max is left out, max will be set to
+ min (max=min). min="0", max="0" means there is only one
+ element.
+ </documentation>
+ </annotation>
+ <attribute name="min" type="nonNegativeInteger">
+ <annotation>
+ <documentation>
+ Defines a list of elements. In default-case (count
+ is not defined) count is set to one.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="max" type="nonNegativeInteger"/>
+ <attribute name="list" type="lml:list_type"/>
+ </complexType>
+
+
+
+
+ <complexType name="scheme_type">
+ <annotation>
+ <documentation>Scheme description of batch-system. Describes an empty instance of the actual batch system.</documentation>
+ </annotation>
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="1" name="el1" type="lml:scheme_element1"/>
+ </sequence>
+ </complexType>
+
+
+ <complexType name="data_type">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="1" name="el1" type="lml:data_element1"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="nodedisplay">
+ <annotation>
+ <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.
+ </documentation>
+ </annotation>
+ <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>
+
+ <complexType name="scheme_element1">
+ <complexContent>
+ <extension base="lml:scheme_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el2" type="lml:scheme_element2"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element10">
+ <complexContent>
+ <extension base="lml:scheme_element"/>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element9">
+ <complexContent>
+ <extension base="lml:scheme_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el10" type="lml:scheme_element10"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element8">
+ <complexContent>
+ <extension base="lml:scheme_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el9" type="lml:scheme_element9"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element7">
+ <complexContent>
+ <extension base="lml:scheme_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el8" type="lml:scheme_element8"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element6">
+ <complexContent>
+ <extension base="lml:scheme_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el7" type="lml:scheme_element7"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element5">
+ <complexContent>
+ <extension base="lml:scheme_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el6" type="lml:scheme_element6"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element4">
+ <complexContent>
+ <extension base="lml:scheme_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el5" type="lml:scheme_element5"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element3">
+ <complexContent>
+ <extension base="lml:scheme_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el4" type="lml:scheme_element4"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element2">
+ <complexContent>
+ <extension base="lml:scheme_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el3" type="lml:scheme_element3"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+
+ <complexType name="data_element1">
+ <complexContent>
+ <extension base="lml:data_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el2" type="lml:data_element2"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="data_element10">
+ <complexContent>
+ <extension base="lml:data_element"/>
+ </complexContent>
+ </complexType>
+
+ <complexType name="data_element9">
+ <complexContent>
+ <extension base="lml:data_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el10" type="lml:data_element10"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="data_element8">
+ <complexContent>
+ <extension base="lml:data_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el9" type="lml:data_element9"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="data_element7">
+ <complexContent>
+ <extension base="lml:data_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el8" type="lml:data_element8"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="data_element6">
+ <complexContent>
+ <extension base="lml:data_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el7" type="lml:data_element7"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="data_element5">
+ <complexContent>
+ <extension base="lml:data_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el6" type="lml:data_element6"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="data_element4">
+ <complexContent>
+ <extension base="lml:data_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el5" type="lml:data_element5"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="data_element3">
+ <complexContent>
+ <extension base="lml:data_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el4" type="lml:data_element4"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="data_element2">
+ <complexContent>
+ <extension base="lml:data_element">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el3" type="lml:data_element3"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+
+ <complexType name="data_element">
+ <annotation>
+ <documentation>
+ Abstract base-type for el-tags in data-tag. Could be
+ used for special attributes, which only data-elements
+ are allowed to include.
+ </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:element_type">
+ <sequence>
+ <element name="usage" type="lml:usage_type" minOccurs="0" maxOccurs="1">
+ <annotation>
+ <documentation>The nodedisplay-tree can be cut on every level.
+To sum up all lower element's information a usagebar can be added to every data_element.
+The oid-attribute is still required and should contain the id of the biggest job running on this node.
+The usage-element can also be optionally added to every physical element. It sums up
+all information of the specific sub-tree. Thus a full expanded tree can be generated, but
+LML-clients are able to stop reading the tree on every level by using the usagebars.</documentation>
+ </annotation></element>
+ </sequence>
+ <attribute name="oid" type="NCName">
+ <annotation>
+ <documentation>
+ Reference to one job within objects-tag. To
+ make sure, that every physical element is
+ connected to one job, this attribute is
+ required.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="NCName">
+ <annotation>
+ <documentation>
+ For example: R30-M1 (Name of a node in
+ jugene).
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="description" type="string">
+ <annotation>
+ <documentation>
+ For example: A running node.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="status" type="string">
+ <annotation>
+ <documentation>
+ For example running, waiting, broken.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="refid" type="string" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="scheme_element">
+ <annotation>
+ <documentation>
+ All el?-tags will be subtypes of this type. Tagname has
+ to be defined here. Data-elements must not repeat this
+ tagname.
+ </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:element_type">
+ <attribute name="tagname" type="NCName"/>
+ <attribute default="%d-" name="mask">
+ <annotation>
+ <documentation>
+ If mask is not defined, default-mask is
+ "%d-". To separate name-parts of implicit
+ names use the length of the mask or a given
+ separator. An unidentifying mask like "%d"
+ is not allowed.
+ </documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="string">
+ <pattern value="(([^%])*%(\-|\+|\s|\#)*0(\-|\+|\s|\#)*(\d)+d([^%])*)|(([^%])*%(\-|\+|\s|\#)*d([^%\d])+)|(([^%])*%(\-|\+|\s|\#)*1d([^%])*)">
+ </pattern>
+ </restriction>
+ </simpleType>
+ </attribute>
+ <attribute default="1" name="step" type="positiveInteger">
+ <annotation>
+ <documentation>
+ default-step-width is 1. This is the value,
+ which is set, if step is not defined.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="map" type="lml:namemapping_type">
+ <annotation>
+ <documentation>Map names as implicit names to these components. mask and map can not be used together. map defines special names for all elements within this list. names must be separated by commas.</documentation>
+ </annotation>
+</attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+
+
+ <simpleType name="list_type">
+ <annotation>
+ <documentation>Type for list-attribute in scheme- or data-tag. It allowes the definition of several positive integer-values seperated by commas.</documentation>
+ </annotation>
+ <restriction base="string">
+ <pattern value="\s*\d+\s*(\s*,\s*\d+)*"/>
+ </restriction>
+ </simpleType>
+
+ <simpleType name="namemapping_type">
+ <annotation>
+ <documentation>This type is used to map special names to elements of the nodedisplay. Usually a digit has to be printed with a mask-atttribute, but if the name does not contain a digit, this type will be used to define those special names.</documentation>
+ </annotation>
+ <restriction base="string">
+ <pattern value=".*(,.*)*"/>
+ </restriction>
+ </simpleType>
+</schema>
diff --git a/schemas/v1.0/relation.xsd b/schemas/v1.0/relation.xsd
new file mode 100644
index 0000000..8365673
--- /dev/null
+++ b/schemas/v1.0/relation.xsd
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+LML - LLView markup language
+
+
+Copyright (c) 2011 Forschungszentrum Juelich GmbH
+
+All rights reserved. This program and the accompanying materials
+
+are made available under the terms of the Eclipse Public License v1.0
+
+which accompanies this distribution and is available at
+
+http://www.eclipse.org/legal/epl-v10.html
+-->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+
+ <complexType name="relation_type">
+ <annotation>
+ <documentation>
+ A set of objects, which are related to each other. Could
+ contain a list of jobs of one user. If any job in the
+ relation is focused, every job in this set will be
+ highlighted. keyid can be used to define objects which are connected to all added objects in this relation_type. If keyid is not defined, all elements in this tag will be used as keys.
+ </documentation>
+ </annotation>
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="el" type="lml:relation_element_type">
+ </element>
+ </sequence>
+ <attribute name="id" type="NCName" use="required">
+ <annotation>
+ <documentation>
+ This id can be referenced by all objects in lml. Is
+ similar to an id of an object-tag within the
+ objects-tag.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>Name of this set.</documentation>
+ </annotation>
+ </attribute>
+ <attribute name="keyid" type="NCName">
+ <annotation>
+ <documentation>ID-Ref to one object or relation which is related to all elements added in this tag.</documentation>
+ </annotation>
+</attribute>
+ </complexType>
+
+ <complexType name="relation_element_type">
+ <attribute name="refid" type="NCName">
+ <annotation>
+ <documentation>Reference-Id to an object-tag or another relation.</documentation>
+ </annotation>
+</attribute>
+ </complexType>
+
+ <complexType name="relations_type">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="rel" type="lml:relation_type"/>
+ </sequence>
+ </complexType>
+</schema>
diff --git a/schemas/v1.0/request.xsd b/schemas/v1.0/request.xsd
new file mode 100644
index 0000000..5f244c7
--- /dev/null
+++ b/schemas/v1.0/request.xsd
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+LML - LLView markup language
+
+
+Copyright (c) 2011 Forschungszentrum Juelich GmbH
+
+All rights reserved. This program and the accompanying materials
+
+are made available under the terms of the Eclipse Public License v1.0
+
+which accompanies this distribution and is available at
+
+http://www.eclipse.org/legal/epl-v10.html
+-->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+
+
+
+
+ <complexType name="RequestType">
+ <annotation>
+ <documentation>
+ A type for collecting request information. LML can be
+ used as communication language. The client sends layout
+ information and empty data-tags to the server. The
+ server returns the corresponding data.
+ </documentation>
+ </annotation>
+ <sequence>
+ <element name="driver" type="lml:DriverType" minOccurs="0" maxOccurs="unbounded"></element>
+ <element name="layoutManagement"
+ type="lml:LayoutRequestType" minOccurs="0" maxOccurs="1">
+ </element>
+ </sequence>
+ </complexType>
+
+ <complexType name="LayoutRequestType">
+ <annotation>
+ <documentation>Contains information about handling layouts on the server side. For example an LML-client could wish to save the layout on the server-side. These parameters are listed within this tag.</documentation>
+ </annotation>
+ <attribute default="false" name="saveLayout" type="boolean">
+ <annotation>
+ <documentation>
+ If true, the server should save the currently send
+ layout for this user.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="false" name="getDefaultData"
+ type="boolean">
+ <annotation>
+ <documentation>
+ If true the server should return default data with a
+ default layout. This can be usefull when the client
+ connects to the server for the first time.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+
+ <complexType name="DriverType">
+ <annotation>
+ <documentation>
+ Definition of driver-parameters for calling the lml-da
+ with specific driver-information.
+ </documentation>
+ </annotation>
+ <sequence>
+ <element name="command" type="lml:CommandType" minOccurs="0" maxOccurs="unbounded"></element>
+ </sequence>
+ <attribute name="name" type="string" use="required">
+ <annotation>
+ <documentation>Name of batch-system</documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+
+ <complexType name="CommandType">
+ <annotation>
+ <documentation>Every command consists of a name and a path to this command.</documentation>
+ </annotation>
+ <attribute name="name" type="string" use="required">
+ <annotation>
+ <documentation>ID of the command</documentation>
+ </annotation></attribute>
+ <attribute name="exec" type="string" use="required">
+ <annotation>
+ <documentation>Path to the command on the server-side.</documentation>
+ </annotation></attribute>
+ </complexType>
+</schema>
diff --git a/schemas/rm-1.0.0.xsd b/schemas/v1.0/rm.xsd
similarity index 100%
rename from schemas/rm-1.0.0.xsd
rename to schemas/v1.0/rm.xsd
diff --git a/schemas/v1.0/table.xsd b/schemas/v1.0/table.xsd
new file mode 100644
index 0000000..1aa16b6
--- /dev/null
+++ b/schemas/v1.0/table.xsd
@@ -0,0 +1,189 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+LML - LLView markup language
+
+
+Copyright (c) 2011 Forschungszentrum Juelich GmbH
+
+All rights reserved. This program and the accompanying materials
+
+are made available under the terms of the Eclipse Public License v1.0
+
+which accompanies this distribution and is available at
+
+http://www.eclipse.org/legal/epl-v10.html
+-->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+
+ <include schemaLocation="lgui.xsd"/>
+ <complexType name="column_type">
+ <annotation>
+ <documentation>
+ Describes one column of table.
+ </documentation>
+ </annotation>
+ <sequence>
+ <element maxOccurs="1" minOccurs="0" name="pattern" type="lml:pattern_type">
+ <annotation>
+ <documentation>
+ The pattern-tag defines regular expressions,
+ which describe the allowed values of a column.
+ For a status-column in a job-table you could
+ define, that values of this column are taken
+ from {RUNNING, SUSPENDED, STOPPED}. This is also
+ used to insert new jobs into job-tables. If a
+ job is "running" and the status-column allows
+ running jobs, this job should be inserted into
+ this table.
+ </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ <attribute name="name" type="NCName" use="required"/>
+ <attribute name="sort" type="lml:sorting_type"/>
+ <attribute name="description" type="string"/>
+ <attribute name="id" type="positiveInteger" use="required"/>
+ <attribute default="optional" name="type">
+ <annotation>
+ <documentation>This attribute defines the use of this column. If optional (default) cells of this column can be left out in rows.
+If mandatory they have to be defined.</documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="mandatory"/>
+ <enumeration value="optional"/>
+ </restriction>
+ </simpleType>
+ </attribute>
+ </complexType>
+
+ <simpleType name="sorting_type">
+ <annotation>
+ <documentation>Defines allowed ways of how columns are sorted. If value is date, the values have to match the regular expression ^\d{4}\-\d{2}\-\d{2}\s*(\d{2}:\d{2}(:\d{2})?)?$
+A valid example is: "2011-04-13 09:56:44"</documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="numeric"/>
+ <enumeration value="alpha"/>
+ <enumeration value="date"/>
+ </restriction>
+ </simpleType>
+
+ <complexType name="cell_type">
+ <annotation>
+ <documentation>Can be linked to column by using foreign key cid to cid-attribute of column-tag.
+Otherwise order of cells define connections to columns.</documentation>
+ </annotation>
+ <attribute name="cid" type="positiveInteger">
+ <annotation>
+ <documentation>Is cid not defined, order of columns and cells will define which cell is connected to which column.</documentation>
+ </annotation>
+</attribute>
+ <attribute name="value" type="string"/>
+ </complexType>
+
+
+ <complexType name="row_type">
+ <annotation>
+ <documentation>One row in final table.</documentation>
+ </annotation>
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="cell" type="lml:cell_type"/>
+ </sequence>
+ <attribute name="oid" type="NCName">
+ <annotation>
+ <documentation>Reference to object-tag</documentation>
+ </annotation>
+</attribute>
+ </complexType>
+
+
+ <complexType name="table_type">
+ <annotation>
+ <documentation>
+ An abstract table. Defines several columns, which can be
+ sorted by different datatypes. Then data is defined in
+ row-tags, which can be linked with object-tags.
+ </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:gobject_type">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0"
+ name="column" type="lml:column_type">
+ </element>
+ <element maxOccurs="unbounded" minOccurs="0"
+ name="row" type="lml:row_type">
+
+ <!-- for one column only one cell in a row -->
+ <unique name="cellCIDUnique">
+ <selector xpath="cell" />
+ <field xpath="@cid" />
+ </unique>
+
+ </element>
+ </sequence>
+ <attribute default="other" name="contenttype">
+ <annotation>
+ <documentation>
+ This attribute defines the table's content
+ type. E.g. the value jobs defines this table
+ to contain job-information.
+ </documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="jobs" />
+ <enumeration value="nodes" />
+ <enumeration value="users" />
+ <enumeration value="groups" />
+ <enumeration value="classes" />
+ <enumeration value="queues" />
+ <enumeration value="other" />
+ </restriction>
+ </simpleType>
+ </attribute>
+ <attribute name="form" default="sparse">
+ <annotation>
+ <documentation>This attribute defines the used form of this table. The form can be regular or sparse in comparison with a matrix. A regular table is filled completely. Every row has the maximum amount of cells.
+A sparse table can leave cells out. One row could contain only one cell, which means that all other columns are empty for this row. Another row might contain 5 cells in the same table.
+This table form could reduce transmitted data. On the other hand regular tables can be processed faster, because a program does not have to check if every cell is available.</documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="regular"></enumeration>
+ <enumeration value="sparse"></enumeration>
+ </restriction>
+ </simpleType>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+
+
+
+
+
+ <complexType name="pattern_type">
+ <annotation>
+ <documentation>A pattern element consists of include and exclude tags. Values of the corresponding column
+can be checked by the defined regular expressions. They must pass the regexp-checks in
+the following way: Go through all include/exclude tags. A value must be valid against the
+include-regexps and must not match with the exclude-regexps. Therefore the order of tags
+is important.
+</documentation>
+ </annotation>
+ <sequence maxOccurs="unbounded" minOccurs="1">
+ <element maxOccurs="1" minOccurs="0" name="include" type="lml:pattern_match_type"/>
+ <element maxOccurs="1" minOccurs="0" name="exclude" type="lml:pattern_match_type"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="pattern_match_type">
+ <attribute name="regexp" type="string">
+ <annotation>
+ <documentation>This attribute takes regular expressions of any kind.</documentation>
+ </annotation>
+</attribute>
+ </complexType>
+</schema>
diff --git a/schemas/v1.0/textboxes.xsd b/schemas/v1.0/textboxes.xsd
new file mode 100644
index 0000000..67564e8
--- /dev/null
+++ b/schemas/v1.0/textboxes.xsd
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+LML - LLView markup language
+
+
+Copyright (c) 2011 Forschungszentrum Juelich GmbH
+
+All rights reserved. This program and the accompanying materials
+
+are made available under the terms of the Eclipse Public License v1.0
+
+which accompanies this distribution and is available at
+
+http://www.eclipse.org/legal/epl-v10.html
+-->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+
+
+ <include schemaLocation="lgui.xsd"/>
+ <include schemaLocation="entities.xsd"/>
+ <complexType name="textbox_type">
+ <complexContent>
+ <extension base="lml:gobject_type">
+ <choice>
+ <element name="text" type="string"/>
+ <element name="info" type="lml:textinfo_type"/>
+ </choice>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="textinfo_type">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="data" type="lml:infodata_type"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="infobox_type">
+ <complexContent>
+ <extension base="lml:gobject_type">
+
+
+
+ <attribute default="notype" name="type" type="NCName">
+ <annotation>
+ <documentation>this attribute references to type-attributes of information-tags. This infobox will only show elements with the given type.</documentation>
+ </annotation>
+</attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+</schema>
diff --git a/schemas/v1.0/usagebar.xsd b/schemas/v1.0/usagebar.xsd
new file mode 100644
index 0000000..5926442
--- /dev/null
+++ b/schemas/v1.0/usagebar.xsd
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+LML - LLView markup language
+
+
+Copyright (c) 2011 Forschungszentrum Juelich GmbH
+
+All rights reserved. This program and the accompanying materials
+
+are made available under the terms of the Eclipse Public License v1.0
+
+which accompanies this distribution and is available at
+
+http://www.eclipse.org/legal/epl-v10.html
+-->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:lml="http://www.llview.de" targetNamespace="http://www.llview.de">
+
+ <include schemaLocation="lgui.xsd"/>
+
+ <annotation>
+ <documentation>Gives a brief overview of running jobs on the system.</documentation>
+</annotation>
+ <complexType name="job_type">
+ <annotation>
+ <documentation>Describes one job in the usagebar. Saves how many cpus are used by this job and how many cpus are on one node.
+If this job is running on different node-architectures, where cpupernode differs, a list of jobparts has to be used.
+So one job can be divided into jobparts for a more detailled description.</documentation>
+ </annotation>
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="jobpart" type="lml:job_part_type"/>
+ </sequence>
+ <attribute name="oid" type="NCName" use="required"/>
+ <attribute name="cpucount" type="nonNegativeInteger" use="required"/>
+ <attribute name="cpupernode" type="positiveInteger"/>
+ </complexType>
+
+ <complexType name="job_part_type">
+ <attribute name="cpucount" type="nonNegativeInteger" use="required"/>
+ <attribute name="cpupernode" type="positiveInteger"/>
+ </complexType>
+
+ <complexType name="usagebar_type">
+ <annotation>
+ <documentation>
+ Defines several jobs, that are now running on the
+ system. CpuCount can be computed by adding all
+ cpuCount-attributes of the defined job-tags.
+ </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="lml:gobject_type">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="job" type="lml:job_type">
+ </element>
+ </sequence>
+ <attribute name="cpucount" type="nonNegativeInteger" use="required">
+ <annotation>
+ <documentation>
+ defines how many cpus are in the whole
+ system
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="1" name="cpupernode" type="positiveInteger"/>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="usage_type">
+ <annotation>
+ <documentation>This type is used within nodedisplay to summarize job-infromation of sub-trees.
+It is almost equivalent to a usagebar,
+but it is not derived from a graphical object.
+Thus no id has to be defined and layouts cannot
+be associated with instances of this type.</documentation>
+ </annotation>
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="job"
+ type="lml:job_type">
+ <annotation>
+ <documentation>Every job-element defines one job within this subtree.
+A job is simply described by the amount of cpus used by this job.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ <attribute name="cpucount" type="nonNegativeInteger" use="required">
+ <annotation>
+ <documentation>
+ defines how many cpus are in this sub-tree
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute default="1" name="cpupernode" type="positiveInteger" >
+ <annotation>
+ <documentation>Defines how many CPU build one node. This allows to combine both units: CPU and nodes.</documentation>
+ </annotation></attribute>
+ </complexType>
+
+</schema>