Blame SOURCES/datatypes.dtd

01815b
01815b
        DTD for XML Schemas: Part 2: Datatypes
01815b
        $Id: datatypes.dtd,v 1.23 2001/03/16 17:36:30 ht Exp $
01815b
        Note this DTD is NOT normative, or even definitive. - - the
01815b
        prose copy in the datatypes REC is the definitive version
01815b
        (which shouldn't differ from this one except for this comment
01815b
        and entity expansions, but just in case)
01815b
  -->
01815b
01815b
01815b
        This DTD cannot be used on its own, it is intended
01815b
        only for incorporation in XMLSchema.dtd, q.v.
01815b
  -->
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
        Customisation entities for the ATTLIST of each element
01815b
        type. Define one of these if your schema takes advantage
01815b
        of the anyAttribute='##other' in the schema for schemas
01815b
  -->
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
        types -->
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
01815b
        #all or space-separated list drawn from derivationChoice
01815b
  -->
01815b
01815b
01815b
        Note that the use of 'facet' below is less restrictive
01815b
        than is really intended:  There should in fact be no
01815b
        more than one of each of minInclusive, minExclusive,
01815b
        maxInclusive, maxExclusive, totalDigits, fractionDigits,
01815b
        length, maxLength, minLength within datatype,
01815b
        and the min- and max- variants of Inclusive and Exclusive
01815b
        are mutually exclusive. On the other hand,  pattern and
01815b
        enumeration may repeat.
01815b
  -->
01815b
01815b
01815b
01815b
01815b
01815b
01815b
   "%pattern; | %enumeration; | %whiteSpace; | %length; |
01815b
   %maxLength; | %minLength;">
01815b
01815b
01815b
        "value CDATA #REQUIRED
01815b
        id ID #IMPLIED">
01815b
01815b
01815b
01815b
        ((%annotation;)?, (%restriction; | %list; | %union;))>
01815b
01815b
    name      %NCName; #IMPLIED
01815b
    final     %simpleDerivationSet; #IMPLIED
01815b
    id        ID       #IMPLIED
01815b
    %simpleTypeAttrs;>
01815b
01815b
01815b
                         (%restriction1; |
01815b
                          ((%simpleType;)?,(%facet;)*)),
01815b
                         (%attrDecls;))>
01815b
01815b
    base      %QName;                  #IMPLIED
01815b
    id        ID       #IMPLIED
01815b
    %restrictionAttrs;>
01815b
01815b
        base and simpleType child are mutually exclusive,
01815b
        one is required.
01815b
01815b
        restriction is shared between simpleType and
01815b
        simpleContent and complexContent (in XMLSchema.xsd).
01815b
        restriction1 is for the latter cases, when this
01815b
        is restricting a complex type, as is attrDecls.
01815b
  -->
01815b
01815b
01815b
    itemType      %QName;             #IMPLIED
01815b
    id        ID       #IMPLIED
01815b
    %listAttrs;>
01815b
01815b
        itemType and simpleType child are mutually exclusive,
01815b
        one is required
01815b
  -->
01815b
01815b
01815b
    id            ID       #IMPLIED
01815b
    memberTypes   %QNames;            #IMPLIED
01815b
    %unionAttrs;>
01815b
01815b
        At least one item in memberTypes or one simpleType
01815b
        child is required
01815b
  -->
01815b
01815b
01815b
01815b
        %facetAttr;
01815b
        %fixedAttr;
01815b
        %maxExclusiveAttrs;>
01815b
01815b
01815b
        %facetAttr;
01815b
        %fixedAttr;
01815b
        %minExclusiveAttrs;>
01815b
01815b
01815b
01815b
        %facetAttr;
01815b
        %fixedAttr;
01815b
        %maxInclusiveAttrs;>
01815b
01815b
01815b
        %facetAttr;
01815b
        %fixedAttr;
01815b
        %minInclusiveAttrs;>
01815b
01815b
01815b
01815b
        %facetAttr;
01815b
        %fixedAttr;
01815b
        %totalDigitsAttrs;>
01815b
01815b
01815b
        %facetAttr;
01815b
        %fixedAttr;
01815b
        %fractionDigitsAttrs;>
01815b
01815b
01815b
01815b
        %facetAttr;
01815b
        %fixedAttr;
01815b
        %lengthAttrs;>
01815b
01815b
01815b
        %facetAttr;
01815b
        %fixedAttr;
01815b
        %minLengthAttrs;>
01815b
01815b
01815b
        %facetAttr;
01815b
        %fixedAttr;
01815b
        %maxLengthAttrs;>
01815b
01815b
01815b
01815b
01815b
        %facetAttr;
01815b
        %enumerationAttrs;>
01815b
01815b
01815b
01815b
        %facetAttr;
01815b
        %fixedAttr;
01815b
        %whiteSpaceAttrs;>
01815b
01815b
01815b
01815b
01815b
        %facetAttr;
01815b
        %patternAttrs;>