Blame SOURCES/datatypes.dtd

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