mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
Added the regression test of Frans Englich for bug #167754.
* test/schemas/bug167754_0*: Added the regression test of Frans Englich for bug #167754.
This commit is contained in:
parent
ff858ca8e4
commit
0c34776789
@ -1,3 +1,8 @@
|
||||
Fri Feb 18 12:41:10 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
|
||||
|
||||
* test/schemas/bug167754_0*: Added the regression test of Frans
|
||||
Englich for bug #167754.
|
||||
|
||||
Fri Feb 18 12:31:49 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
|
||||
|
||||
* xmlschemas.c: Started support for IDC resolution to default
|
||||
|
12
test/schemas/bug167754_0.xml
Normal file
12
test/schemas/bug167754_0.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<test xmlns="http://www.example.com/Test"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.example.com/Test bug167754.xsd">
|
||||
<child>
|
||||
<foo/>
|
||||
</child>
|
||||
<child>
|
||||
<foo/>
|
||||
<joe/>
|
||||
</child>
|
||||
</test>
|
29
test/schemas/bug167754_0.xsd
Normal file
29
test/schemas/bug167754_0.xsd
Normal file
@ -0,0 +1,29 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:target="http://www.example.com/Test"
|
||||
targetNamespace="http://www.example.com/Test"
|
||||
version="1.0"
|
||||
elementFormDefault="qualified" >
|
||||
|
||||
<xsd:element name="foo" />
|
||||
<xsd:element name="bar" />
|
||||
<xsd:element name="joe" />
|
||||
|
||||
<xsd:complexType name="dominik">
|
||||
<xsd:all>
|
||||
<xsd:element minOccurs="0" ref="target:foo" />
|
||||
<xsd:element minOccurs="0" ref="target:bar" />
|
||||
<xsd:element minOccurs="0" ref="target:joe" />
|
||||
</xsd:all>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:element name="test">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element maxOccurs="unbounded" name="child" type="target:dominik" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
</xsd:schema>
|
Loading…
x
Reference in New Issue
Block a user