uwproj.xsd

changeset 44
1d963f2c7e91
parent 43
741a0d9efa47
child 46
096f3105b3b1
equal deleted inserted replaced
43:741a0d9efa47 44:1d963f2c7e91
69 <xs:choice minOccurs="0" maxOccurs="unbounded"> 69 <xs:choice minOccurs="0" maxOccurs="unbounded">
70 <xs:group ref="TargetDataGroup"/> 70 <xs:group ref="TargetDataGroup"/>
71 </xs:choice> 71 </xs:choice>
72 <xs:attribute name="name" type="xs:string" use="required"/> 72 <xs:attribute name="name" type="xs:string" use="required"/>
73 <xs:attribute name="arg" type="xs:string"/> 73 <xs:attribute name="arg" type="xs:string"/>
74 <xs:attribute name="default" default="false"> 74 <xs:attribute name="default" type="xs:boolean" default="false"/>
75 <!-- TODO: this should be just Boolean -->
76 <xs:simpleType>
77 <xs:restriction base="xs:string">
78 <xs:enumeration value="true"/>
79 <xs:enumeration value="false"/>
80 <xs:enumeration value="on"/>
81 <xs:enumeration value="off"/>
82 </xs:restriction>
83 </xs:simpleType>
84 </xs:attribute>
85 </xs:complexType> 75 </xs:complexType>
86 76
87 <xs:complexType name="OptionType"> 77 <xs:complexType name="OptionType">
88 <xs:sequence> 78 <xs:sequence>
89 <xs:element name="value" type="OptionValueType" minOccurs="0" maxOccurs="unbounded"/> 79 <xs:element name="value" type="OptionValueType" minOccurs="0" maxOccurs="unbounded"/>

mercurial