Hash :
01fa6156
Author :
Date :
2004-06-29T17:04:39
applied Schemas patches from Kasimier Buchcik, there is still one open * xmlschemas.c xmlschemastypes.c include/libxml/xmlerror.h include/libxml/schemasInternals.h include/libxml/xmlschemastypes.h: applied Schemas patches from Kasimier Buchcik, there is still one open issue about referencing freed memory. * test/schemas/* result/schemas/*: updated with new tests from Kasimier Daniel
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://FOO" xmlns:foo="http://FOO">
<xsd:element name="foo" type="foo:fooType.B"/>
<xsd:simpleType name="fooType.B">
<xsd:restriction base="foo:fooType.A">
<xsd:enumeration value="medium"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="fooType.A">
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="small"/>
<xsd:enumeration value="medium"/>
<xsd:enumeration value="large"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
</xsd:schema>