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:
parent
bd9d91f9dc
commit
b0d74c661a
@ -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*:
|
||||
|
1
result/schemas/bug321475_1_0
Normal file
1
result/schemas/bug321475_1_0
Normal file
@ -0,0 +1 @@
|
||||
./test/schemas/bug321475_0.xml validates
|
0
result/schemas/bug321475_1_0.err
Normal file
0
result/schemas/bug321475_1_0.err
Normal file
10
test/schemas/bug321475_0.xml
Normal file
10
test/schemas/bug321475_0.xml
Normal 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>
|
||||
|
48
test/schemas/bug321475_1.xsd
Normal file
48
test/schemas/bug321475_1.xsd
Normal 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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user