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:
parent
7ca5aedfc3
commit
183fa3e79a
@ -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
|
||||
|
1
result/schemas/bug323510_1_0
Normal file
1
result/schemas/bug323510_1_0
Normal file
@ -0,0 +1 @@
|
||||
./test/schemas/bug323510_0.xml fails to validate
|
1
result/schemas/bug323510_1_0.err
Normal file
1
result/schemas/bug323510_1_0.err
Normal file
@ -0,0 +1 @@
|
||||
./test/schemas/bug323510_0.xml:2: element foo: Schemas validity error : Element 'foo': Missing child element(s). Expected is ( bar ).
|
3
test/schemas/bug323510_0.xml
Normal file
3
test/schemas/bug323510_0.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<foo/>
|
||||
|
12
test/schemas/bug323510_1.xsd
Normal file
12
test/schemas/bug323510_1.xsd
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user