Annotation of embedaddon/libxml2/test/schemas/facet-unionST-err1_0.xsd, revision 1.1.1.1

1.1       misho       1: <?xml version="1.0"?>
                      2: <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                      3:   targetNamespace="http://FOO" xmlns:foo="http://FOO">
                      4: 
                      5:        <xsd:element name="foo" type="foo:fooType.B"/>
                      6: 
                      7:        <xsd:simpleType name="fooType.B">
                      8:                <xsd:restriction base="foo:fooType.A">
                      9:                        <xsd:enumeration value="medium"/>
                     10:                </xsd:restriction>
                     11:        </xsd:simpleType>
                     12: 
                     13:        <xsd:simpleType name="fooType.A">
                     14:        <xsd:union>
                     15:                <xsd:simpleType>
                     16:                        <xsd:restriction base="xsd:NMTOKEN">
                     17:                                <xsd:enumeration value="small"/>
                     18:                                <xsd:enumeration value="medium"/>
                     19:                                <xsd:enumeration value="large"/>
                     20:                        </xsd:restriction>
                     21:                </xsd:simpleType>
                     22:        </xsd:union>
                     23:        </xsd:simpleType>
                     24: 
                     25: 
                     26: 
                     27: </xsd:schema>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>