diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-04 21:28:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-04 21:28:18 +0300 |
commit | 9d2ae52583ec781330efd28e9c7af6c509b81a12 (patch) | |
tree | 39b10d49ac6f2afe3ba541d595c38aa77b7a29bf | |
parent | 8a24407152a54edba2fcd665d528af0e777f9533 (diff) | |
download | tools-9d2ae52583ec781330efd28e9c7af6c509b81a12.tar.gz tools-9d2ae52583ec781330efd28e9c7af6c509b81a12.tar.bz2 tools-9d2ae52583ec781330efd28e9c7af6c509b81a12.tar.xz tools-9d2ae52583ec781330efd28e9c7af6c509b81a12.zip |
testxml: add attr attribute from stats.xml into xsd
-rw-r--r-- | testxml/xsd/tmw.xsd | 9 |
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> |