diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-07-27 19:28:01 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-07-27 19:28:01 -0300 |
commit | 40110718ed48da6b5f54fe562a8ce0c0369790e9 (patch) | |
tree | aba757ce417ff14c7436305420498a9724bde2c8 | |
parent | 6cff37ee42fe86982fefa02e19bf53c2782254a0 (diff) | |
download | tools-40110718ed48da6b5f54fe562a8ce0c0369790e9.tar.gz tools-40110718ed48da6b5f54fe562a8ce0c0369790e9.tar.bz2 tools-40110718ed48da6b5f54fe562a8ce0c0369790e9.tar.xz tools-40110718ed48da6b5f54fe562a8ce0c0369790e9.zip |
I really have no idea what I'm doing. I hate XSD files.
-rw-r--r-- | testxml/xsd/tmw.xsd | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/testxml/xsd/tmw.xsd b/testxml/xsd/tmw.xsd index 881b7f4..5c84d64 100644 --- a/testxml/xsd/tmw.xsd +++ b/testxml/xsd/tmw.xsd @@ -1850,16 +1850,18 @@ <xs:attribute name="deadDirectionType" type="xs:int" default="1"/> <xs:attribute name="attackDirectionType" type="xs:int" default="4"/> <xs:attribute name="removeMessage" type="xs:string" use="optional"/> - </xs:complexType> - </xs:element> - <xs:element name="sound"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="event" type="monster_sound_event" use="required"/> - <xs:attribute name="delay" type="xs:int" default="0"/> - </xs:extension> - </xs:simpleContent> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element name="sound"> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="event" type="monster_sound_event" use="required"/> + <xs:attribute name="delay" type="xs:int" default="0"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + </xs:choice> </xs:complexType> </xs:element> </xs:choice> |