mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00

* xmlschemas.c include/libxml/xmlerror.h: applied another patch from Kasimier Buchcik for Schema Component Constraints * test/schemas/* result/schemas/*: added the regression tests Daniel
34 lines
950 B
XML
34 lines
950 B
XML
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
<!--
|
|
-->
|
|
<schema xmlns="http://www.w3.org/2001/XMLSchema"
|
|
targetNamespace="http://FOO"
|
|
xmlns:foo="http://FOO" elementFormDefault="qualified" attributeFormDefault="qualified">
|
|
|
|
<element name="foo">
|
|
<complexType>
|
|
<complexContent>
|
|
<extension base="foo:type.A">
|
|
<anyAttribute namespace="http://DOO" processContents="skip"/>
|
|
</extension>
|
|
</complexContent>
|
|
</complexType>
|
|
</element>
|
|
|
|
<complexType name="type.A">
|
|
<attributeGroup ref="foo:attrGr.A_1"/>
|
|
<attributeGroup ref="foo:attrGr.A_2"/>
|
|
<anyAttribute namespace="http://FOO" processContents="skip"/>
|
|
</complexType>
|
|
|
|
<attributeGroup name="attrGr.A_1">
|
|
<anyAttribute namespace="http://FOO http://BOO" processContents="skip"/>
|
|
</attributeGroup>
|
|
|
|
<attributeGroup name="attrGr.A_2">
|
|
<anyAttribute namespace="http://BAR http://DOO http://FOO" processContents="skip"/>
|
|
</attributeGroup>
|
|
|
|
|
|
</schema>
|