1 <?xml version="1.0" encoding="UTF-8"?> |
1 <?xml version="1.0" encoding="UTF-8"?> |
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
3 xmlns="http://unixwork.de/uwproj" |
3 xmlns="http://unixwork.de/uwproj" |
4 targetNamespace="http://unixwork.de/uwproj" |
4 targetNamespace="http://unixwork.de/uwproj" |
5 elementFormDefault="qualified" |
5 elementFormDefault="qualified" |
6 version="0.1" |
6 version="0.2" |
7 > |
7 > |
8 <xs:element name="project" type="ProjectType"/> |
8 <xs:element name="project" type="ProjectType"/> |
9 |
9 |
10 <xs:complexType name="ProjectType"> |
10 <xs:complexType name="ProjectType"> |
11 <xs:annotation> |
11 <xs:annotation> |
184 supposed to be applied to the config file. |
184 supposed to be applied to the config file. |
185 In case the optional <code>default</code> attribute is set to true, the feature is enabled by default |
185 In case the optional <code>default</code> attribute is set to true, the feature is enabled by default |
186 and is supposed to be automatically disabled (without error) when the dependencies are not satisfied. |
186 and is supposed to be automatically disabled (without error) when the dependencies are not satisfied. |
187 The name that is supposed to be used for the --enable and --disable arguments can be optionally |
187 The name that is supposed to be used for the --enable and --disable arguments can be optionally |
188 specified with the <code>arg</code> attribute. Otherwise, the <code>name</code> is used by default. |
188 specified with the <code>arg</code> attribute. Otherwise, the <code>name</code> is used by default. |
|
189 Optionally, a description for the help text of the resulting configure script can be specified by |
|
190 adding a <code>desc</code> element. |
189 </xs:documentation> |
191 </xs:documentation> |
190 </xs:annotation> |
192 </xs:annotation> |
191 <xs:choice minOccurs="0" maxOccurs="unbounded"> |
193 <xs:choice minOccurs="0" maxOccurs="unbounded"> |
192 <xs:group ref="TargetDataGroup"/> |
194 <xs:group ref="TargetDataGroup"/> |
193 </xs:choice> |
195 </xs:choice> |
194 <xs:attribute name="name" type="xs:string" use="required"/> |
196 <xs:attribute name="name" type="xs:string" use="required"/> |
195 <xs:attribute name="arg" type="xs:string"/> |
197 <xs:attribute name="arg" type="xs:string"/> |
196 <xs:attribute name="default" type="xs:boolean" default="false"/> |
198 <xs:attribute name="default" type="xs:boolean" default="false"/> |
|
199 <xs:element name="desc" type="xs:string"/> |
197 </xs:complexType> |
200 </xs:complexType> |
198 |
201 |
199 <xs:complexType name="OptionType"> |
202 <xs:complexType name="OptionType"> |
200 <xs:annotation> |
203 <xs:annotation> |
201 <xs:documentation> |
204 <xs:documentation> |