Tag
Hash :
c0826a77
Author :
Date :
2004-08-10T14:17:33
applied Schemas patches from Kasimier Buchcik lot of new tests for things * configure.in xmlregexp.c xmlschemas.c xmlschemastypes.c include/libxml/schemasInternals.h include/libxml/xmlerror.h include/libxml/xmlschemastypes.h: applied Schemas patches from Kasimier Buchcik * test/ result/ bug141333* annot-err* any[1-4]* bug145246* element-err* element-minmax-err* include1* restrict-CT-attr-ref*: lot of new tests for things fixed by the patch Daniel
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
attributeFormDefault="qualified"
xmlns:foo="http://FOO"
targetNamespace="http://FOO">
<xsd:attribute name="id" type="xsd:ID"/>
<xsd:complexType name="typeIDAttr">
<xsd:attribute ref="foo:id"/>
</xsd:complexType>
<xsd:simpleType name="fooID">
<xsd:restriction base="xsd:ID">
<xsd:pattern value="b\d{10}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:element name="foo">
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="foo:typeIDAttr">
<xsd:attribute name="id" type="foo:fooID"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:schema>