Annotation of embedaddon/libxml2/test/schemas/restrict-CT-attr-ref_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:        attributeFormDefault="qualified"
                      4:        xmlns:foo="http://FOO"
                      5:        targetNamespace="http://FOO">
                      6: 
                      7:        <xsd:attribute name="id" type="xsd:ID"/>
                      8: 
                      9:        <xsd:complexType name="typeIDAttr">
                     10:                <xsd:attribute ref="foo:id"/>
                     11:        </xsd:complexType>
                     12: 
                     13:        <xsd:simpleType name="fooID">
                     14:                <xsd:restriction base="xsd:ID">
                     15:                        <xsd:pattern value="b\d{10}"/>
                     16:                </xsd:restriction>
                     17:        </xsd:simpleType>
                     18: 
                     19:        <xsd:element name="foo">
                     20:                <xsd:complexType>
                     21:                        <xsd:complexContent>
                     22:                                <xsd:restriction base="foo:typeIDAttr">         
                     23:                                        <xsd:attribute name="id" type="foo:fooID"/>
                     24:                                </xsd:restriction>
                     25:                        </xsd:complexContent>
                     26:                </xsd:complexType>
                     27:        </xsd:element>
                     28: 
                     29: 
                     30: </xsd:schema>

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