--- 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>