Commit 0c347767 authored by Kasimier T. Buchcik's avatar Kasimier T. Buchcik

Added the regression test of Frans Englich for bug #167754.

* test/schemas/bug167754_0*: Added the regression test of Frans
  Englich for bug #167754.
parent ff858ca8
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
......
<?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>
<?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>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment