mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-27 04:55:04 +03:00
8839938822
* test/schemas/* result/schemas/*: added a bunch of tests from Kasimier Buchcik posted on May 11 Daniel
18 lines
440 B
XML
18 lines
440 B
XML
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
<!-- 3.2.3 : 2.1
|
|
One of ref or name must be present, but not both.
|
|
-->
|
|
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo">
|
|
|
|
<element name="bar" type="string"/>
|
|
|
|
<element name="foo">
|
|
<complexType>
|
|
<sequence>
|
|
<element name="bar" ref="foo:bar"/>
|
|
</sequence>
|
|
</complexType>
|
|
</element>
|
|
|
|
</schema>
|