diff options
author | Kasimier T. Buchcik <kbuchcik@src.gnome.org> | 2005-12-13 11:52:35 +0000 |
---|---|---|
committer | Kasimier T. Buchcik <kbuchcik@src.gnome.org> | 2005-12-13 11:52:35 +0000 |
commit | b0d74c661ab3c6346b8357d58d7bd266af10777e (patch) | |
tree | 479dcb6f39a0519343c6463da45914e819f09639 /test | |
parent | bd9d91f9dc684265eb9372243383d6e44440c2b3 (diff) | |
download | android_external_libxml2-b0d74c661ab3c6346b8357d58d7bd266af10777e.tar.gz android_external_libxml2-b0d74c661ab3c6346b8357d58d7bd266af10777e.tar.bz2 android_external_libxml2-b0d74c661ab3c6346b8357d58d7bd266af10777e.zip |
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.
Diffstat (limited to 'test')
-rw-r--r-- | test/schemas/bug321475_0.xml | 10 | ||||
-rw-r--r-- | test/schemas/bug321475_1.xsd | 48 |
2 files changed, 58 insertions, 0 deletions
diff --git a/test/schemas/bug321475_0.xml b/test/schemas/bug321475_0.xml new file mode 100644 index 00000000..6190231a --- /dev/null +++ b/test/schemas/bug321475_0.xml @@ -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> + diff --git a/test/schemas/bug321475_1.xsd b/test/schemas/bug321475_1.xsd new file mode 100644 index 00000000..b714a0d3 --- /dev/null +++ b/test/schemas/bug321475_1.xsd @@ -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> + + + + +
\ No newline at end of file |