summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testxml/xsd/tmw.xsd9
1 files changed, 6 insertions, 3 deletions
diff --git a/testxml/xsd/tmw.xsd b/testxml/xsd/tmw.xsd
index 2c99db4..485cb9f 100644
--- a/testxml/xsd/tmw.xsd
+++ b/testxml/xsd/tmw.xsd
@@ -1444,7 +1444,8 @@
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="stat">
<xs:complexType>
- <xs:attribute name="id" type="xs:int" use="required"/>
+ <xs:attribute name="id" type="xs:int" use="optional"/>
+ <xs:attribute name="attr" type="xs:string" use="required"/>
<xs:attribute name="tag" type="xs:string" use="required"/>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
@@ -1459,7 +1460,8 @@
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="stat">
<xs:complexType>
- <xs:attribute name="id" type="xs:int" use="required"/>
+ <xs:attribute name="id" type="xs:int" use="optional"/>
+ <xs:attribute name="attr" type="xs:string" use="required"/>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
@@ -1473,7 +1475,8 @@
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="stat">
<xs:complexType>
- <xs:attribute name="id" type="xs:int" use="required"/>
+ <xs:attribute name="id" type="xs:int" use="optional"/>
+ <xs:attribute name="attr" type="xs:string" use="required"/>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>