Commit 1ba9e090 authored by jhugues's avatar jhugues
Browse files

* Update XML Schema



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/ocarina@3198 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 8178b1ff
......@@ -82,7 +82,7 @@
<xs:element name='features'>
<xs:complexType>
<xs:sequence maxOccurs='unbounded'>
<xs:sequence minOccurs='0' maxOccurs='unbounded'>
<xs:element ref='feature'/>
</xs:sequence>
</xs:complexType>
......@@ -133,7 +133,7 @@
<xs:element name='subcomponents'>
<xs:complexType>
<xs:sequence maxOccurs='unbounded'>
<xs:sequence minOccurs='0' maxOccurs='unbounded'>
<xs:element ref='component'/>
</xs:sequence>
</xs:complexType>
......@@ -176,7 +176,7 @@
<!-- Properties -->
<xs:element name='properties'>
<xs:complexType>
<xs:sequence maxOccurs='unbounded'>
<xs:sequence minOccurs='0' maxOccurs='unbounded'>
<xs:element ref='property'/>
</xs:sequence>
</xs:complexType>
......@@ -198,6 +198,7 @@
<xs:element name="reference" type="reference_prop"/>
<xs:element name="unit" type="unit_prop"/>
<xs:element name="value" type="value_prop"/>
<xs:element name="range" type="range_prop"/>
</xs:choice>
</xs:complexType>
</xs:element>
......@@ -211,6 +212,12 @@
<xs:attribute name='unit' type="xs:string" use='required'/>
</xs:complexType>
<xs:complexType name='range_prop'>
<xs:attribute name='value_low' type="xs:string" use='required'/>
<xs:attribute name='value_high' type="xs:string" use='required'/>
<xs:attribute name='unit' type="xs:string" use='optional'/>
</xs:complexType>
<xs:complexType name='value_prop'>
<xs:attribute name='value' type="xs:string" use='required'/>
</xs:complexType>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment