uwproj.xsd

changeset 43
741a0d9efa47
parent 41
75ee588d5d9e
child 44
1d963f2c7e91
--- a/uwproj.xsd	Sun Sep 10 12:59:04 2023 +0200
+++ b/uwproj.xsd	Sun Sep 10 13:04:02 2023 +0200
@@ -25,18 +25,11 @@
         <xs:simpleContent>
             <xs:extension base="xs:string">
                 <xs:attribute name="name" type="xs:string" use="required"/>
-                <xs:attribute name="type" type="ExecType"/>
+                <xs:attribute name="exec" type="xs:boolean" default="false"/>
             </xs:extension>
         </xs:simpleContent>
     </xs:complexType>
 
-    <!-- TODO: we should replace this type with a simple Boolean -->
-    <xs:simpleType name="ExecType">
-        <xs:restriction base="xs:string">
-            <xs:enumeration value="exec"/>
-        </xs:restriction>
-    </xs:simpleType>
-
     <xs:complexType name="DependencyType">
         <xs:choice minOccurs="0" maxOccurs="unbounded">
             <xs:element name="lang" type="xs:string"/>
@@ -54,7 +47,7 @@
     <xs:complexType name="FlagsType">
         <xs:simpleContent>
             <xs:extension base="xs:string">
-                <xs:attribute name="type" type="ExecType"/>
+                <xs:attribute name="exec" type="xs:boolean" default="false"/>
             </xs:extension>
         </xs:simpleContent>
     </xs:complexType>

mercurial