1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-28 07:21:26 +03:00

Added regression test for bug #321475 (reported by Gabor Nagy). Fixing of

* test/schemas/bug321475* result/schemas/bug321475*:
  Added regression test for bug #321475 (reported by
  Gabor Nagy). Fixing of bug #323510 seemed to have
  fixed this bug as well.
This commit is contained in:
Kasimier T. Buchcik 2005-12-13 11:52:35 +00:00
parent bd9d91f9dc
commit b0d74c661a
5 changed files with 66 additions and 0 deletions

View File

@ -1,3 +1,10 @@
Tue Dec 13 12:49:23 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.ne>
* test/schemas/bug321475* result/schemas/bug321475*:
Added regression test for bug #321475 (reported by
Gabor Nagy). Fixing of bug #323510 seemed to have
fixed this bug as well.
Mon Dec 12 16:19:16 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.ne>
* test/schemas/bug323510* result/schemas/bug323510*:

View File

@ -0,0 +1 @@
./test/schemas/bug321475_0.xml validates

View File

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<animation xmlns="http://www.collada.org/2005/11/COLLADASchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.collada.org/2005/11/COLLADASchema bug321475.xsd">
<asset/>
<source/>
<sampler/>
<channel/>
</animation>

View File

@ -0,0 +1,48 @@
<?xml version="1.0"?>
<xs:schema targetNamespace="http://www.collada.org/2005/11/COLLADASchema"
xmlns="http://www.collada.org/2005/11/COLLADASchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
elementFormDefault="qualified" version="1.4.0" xml:lang="EN">
<xs:element name="animation">
<xs:complexType>
<xs:sequence>
<xs:element ref="asset" minOccurs="0"/>
<xs:choice>
<xs:sequence>
<xs:element ref="source" maxOccurs="unbounded"/>
<xs:choice>
<xs:sequence>
<xs:element ref="sampler" maxOccurs="unbounded"/>
<xs:element ref="channel" maxOccurs="unbounded"/>
<xs:element ref="animation" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:element ref="animation" maxOccurs="unbounded"/>
</xs:choice>
</xs:sequence>
<xs:sequence>
<xs:element ref="sampler" maxOccurs="unbounded"/>
<xs:element ref="channel" maxOccurs="unbounded"/>
<xs:element ref="animation" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:element ref="animation" maxOccurs="unbounded"/>
</xs:choice>
<xs:element ref="extra" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="id" type="xs:ID"/>
<xs:attribute name="name" type="xs:NCName"/>
</xs:complexType>
</xs:element>
<xs:element name="extra"/>
<xs:element name="asset"/>
<xs:element name="channel"/>
<xs:element name="sampler"/>
<xs:element name="source"/>
<xs:element name="technique"/>
</xs:schema>