Annotation of embedaddon/libxml2/test/schemas/vdv-simpleTypes.xsd, revision 1.1.1.1

1.1       misho       1: <?xml version="1.0" encoding="UTF-8"?>
                      2: <!-- $Header: /home/cvsroot/w3c-xml-schema/user/examples/simpleTypes.xsd,v 1.1 2001/11/26 13:27:08 vdv Exp $ -->
                      3: <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
                      4: 
                      5:        <xs:simpleType name="string255">
                      6:                <xs:restriction base="xs:token">
                      7:                        <xs:maxLength value="255"/>
                      8:                </xs:restriction>
                      9:        </xs:simpleType>
                     10:        <xs:simpleType name="string32">
                     11:                <xs:restriction base="xs:token">
                     12:                        <xs:maxLength value="32"/>
                     13:                </xs:restriction>
                     14:        </xs:simpleType>
                     15:        <xs:simpleType name="isbn">
                     16:                <xs:restriction base="xs:unsignedLong">
                     17:                        <xs:totalDigits value="10"/>
                     18:                        <xs:pattern value="\d{10}"/>
                     19:                </xs:restriction>
                     20:        </xs:simpleType>
                     21:        <xs:simpleType name="bookID">
                     22:                <xs:restriction base="xs:ID">
                     23:                        <xs:pattern value="b\d{10}"/>
                     24:                </xs:restriction>
                     25:        </xs:simpleType>
                     26:        <xs:simpleType name="supportedLanguages">
                     27:                <xs:restriction base="xs:language">
                     28:                        <xs:enumeration value="en"/>
                     29:                        <xs:enumeration value="es"/>
                     30:                </xs:restriction>
                     31:        </xs:simpleType>
                     32:        <xs:simpleType name="date">
                     33:                <xs:restriction base="xs:date">
                     34:                                                <xs:pattern value="[^:Z]*"/>
                     35:                </xs:restriction>
                     36:        </xs:simpleType>
                     37: 
                     38: </xs:schema>

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