1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-02-05 05:47:00 +03:00

Added regression test for bug #323510.

* test/schemas/bug323510* result/schemas/bug323510*:
  Added regression test for bug #323510.
This commit is contained in:
Kasimier T. Buchcik 2005-12-12 15:20:28 +00:00
parent 7ca5aedfc3
commit 183fa3e79a
5 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Mon Dec 12 16:19:16 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.ne>
* test/schemas/bug323510* result/schemas/bug323510*:
Added regression test for bug #323510.
Mon Dec 12 15:11:13 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.ne>
* xmlschemas.c: Workaround for bug #323510: substituted the

View File

@ -0,0 +1 @@
./test/schemas/bug323510_0.xml fails to validate

View File

@ -0,0 +1 @@
./test/schemas/bug323510_0.xml:2: element foo: Schemas validity error : Element 'foo': Missing child element(s). Expected is ( bar ).

View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<foo/>

View File

@ -0,0 +1,12 @@
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="foo">
<xs:complexType>
<xs:sequence>
<xs:element name="bar" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>