|
|
83f3da |
|
|
|
83f3da |
Public Identifier: "-//W3C//DTD XMLSCHEMA 200102//EN"
|
|
|
83f3da |
Official Location: http://www.w3.org/2001/XMLSchema.dtd -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
prefixes for the XML Schema namespace, any XML document which is
|
|
|
83f3da |
not valid per this DTD given redefinitions in its internal subset of the
|
|
|
83f3da |
'p' and 's' parameter entities below appropriate to its namespace
|
|
|
83f3da |
declaration of the XML Schema namespace is almost certainly not
|
|
|
83f3da |
a valid schema. -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
are defined in XML Schema: Part 2: Datatypes -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
schema document to establish a different
|
|
|
83f3da |
namespace prefix -->
|
|
|
83f3da |
|
|
|
83f3da |
also define %s as the suffix for the appropriate
|
|
|
83f3da |
namespace declaration (e.g. :foo) -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
Define one of these if your schema takes advantage of the
|
|
|
83f3da |
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 |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
derivationChoice + 'substitution' -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
%xs-datatypes;
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
which allows annotation everywhere -->
|
|
|
83f3da |
|
|
|
83f3da |
((%simpleType; | %complexType;
|
|
|
83f3da |
| %element; | %attribute;
|
|
|
83f3da |
| %attributeGroup; | %group;
|
|
|
83f3da |
| %notation; ),
|
|
|
83f3da |
(%annotation;)*)* )>
|
|
|
83f3da |
|
|
|
83f3da |
targetNamespace %URIref; #IMPLIED
|
|
|
83f3da |
version CDATA #IMPLIED
|
|
|
83f3da |
%nds; %URIref; #FIXED 'http://www.w3.org/2001/XMLSchema'
|
|
|
83f3da |
xmlns CDATA #IMPLIED
|
|
|
83f3da |
finalDefault %complexDerivationSet; ''
|
|
|
83f3da |
blockDefault %blockSet; ''
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
elementFormDefault %formValues; 'unqualified'
|
|
|
83f3da |
attributeFormDefault %formValues; 'unqualified'
|
|
|
83f3da |
xml:lang CDATA #IMPLIED
|
|
|
83f3da |
%schemaAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
because at the Infoset level where schemas operate,
|
|
|
83f3da |
xmlns(:prefix) is NOT an attribute! -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
from non-schemas using simple fragment identifiers.
|
|
|
83f3da |
It is NOT used for schema-to-schema reference, internal or
|
|
|
83f3da |
external. -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
declarations-->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
(%simpleContent;|%complexContent;|
|
|
|
83f3da |
%particleAndAttrs;))>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
name %NCName; #IMPLIED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
abstract %boolean; #IMPLIED
|
|
|
83f3da |
final %complexDerivationSet; #IMPLIED
|
|
|
83f3da |
block %complexDerivationSet; #IMPLIED
|
|
|
83f3da |
mixed (true|false) 'false'
|
|
|
83f3da |
%complexTypeAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
has one too. -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
and/or explicitly, the intersection of the permissions is used -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
mixed (true|false) #IMPLIED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
%complexContentAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
one from part2; extension should use the full model -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
%simpleContentAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
one defined above; extension should have no particle -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
base %QName; #REQUIRED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
%extensionAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
a name and a type (either nested or referenced via the type attribute)
|
|
|
83f3da |
or a ref to an existing element declaration -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
(%unique; | %key; | %keyref;)*)>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
name %NCName; #IMPLIED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
ref %QName; #IMPLIED
|
|
|
83f3da |
type %QName; #IMPLIED
|
|
|
83f3da |
minOccurs %nonNegativeInteger; #IMPLIED
|
|
|
83f3da |
maxOccurs CDATA #IMPLIED
|
|
|
83f3da |
nillable %boolean; #IMPLIED
|
|
|
83f3da |
substitutionGroup %QName; #IMPLIED
|
|
|
83f3da |
abstract %boolean; #IMPLIED
|
|
|
83f3da |
final %complexDerivationSet; #IMPLIED
|
|
|
83f3da |
block %blockSet; #IMPLIED
|
|
|
83f3da |
default CDATA #IMPLIED
|
|
|
83f3da |
fixed CDATA #IMPLIED
|
|
|
83f3da |
form %formValues; #IMPLIED
|
|
|
83f3da |
%elementAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
name and ref are mutually exclusive, one is required -->
|
|
|
83f3da |
|
|
|
83f3da |
substitutionGroup, if any, else the ur-type, i.e. unconstrained -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
name %NCName; #IMPLIED
|
|
|
83f3da |
ref %QName; #IMPLIED
|
|
|
83f3da |
minOccurs %nonNegativeInteger; #IMPLIED
|
|
|
83f3da |
maxOccurs CDATA #IMPLIED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
%groupAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
minOccurs (1) #IMPLIED
|
|
|
83f3da |
maxOccurs (1) #IMPLIED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
%allAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
minOccurs %nonNegativeInteger; #IMPLIED
|
|
|
83f3da |
maxOccurs CDATA #IMPLIED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
%choiceAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
minOccurs %nonNegativeInteger; #IMPLIED
|
|
|
83f3da |
maxOccurs CDATA #IMPLIED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
%sequenceAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
a top-level named group definition, or a reference to same -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
If order is 'all' THIS group must be alone (or referenced alone) at
|
|
|
83f3da |
the top level of a content model -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
namespace CDATA '##any'
|
|
|
83f3da |
processContents (skip|lax|strict) 'strict'
|
|
|
83f3da |
minOccurs %nonNegativeInteger; '1'
|
|
|
83f3da |
maxOccurs CDATA '1'
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
%anyAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
##any - - any non-conflicting WFXML at all
|
|
|
83f3da |
|
|
|
83f3da |
##other - - any non-conflicting WFXML from namespace other
|
|
|
83f3da |
than targetNamespace
|
|
|
83f3da |
|
|
|
83f3da |
##local - - any unqualified non-conflicting WFXML/attribute
|
|
|
83f3da |
one or - - any non-conflicting WFXML from
|
|
|
83f3da |
more URI the listed namespaces
|
|
|
83f3da |
references
|
|
|
83f3da |
|
|
|
83f3da |
##targetNamespace ##local may appear in the above list,
|
|
|
83f3da |
with the obvious meaning -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
namespace CDATA '##any'
|
|
|
83f3da |
processContents (skip|lax|strict) 'strict'
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
%anyAttributeAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
name %NCName; #IMPLIED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
ref %QName; #IMPLIED
|
|
|
83f3da |
type %QName; #IMPLIED
|
|
|
83f3da |
use (prohibited|optional|required) #IMPLIED
|
|
|
83f3da |
default CDATA #IMPLIED
|
|
|
83f3da |
fixed CDATA #IMPLIED
|
|
|
83f3da |
form %formValues; #IMPLIED
|
|
|
83f3da |
%attributeAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
name and ref are mutually exclusive, one is required -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
reference thereto -->
|
|
|
83f3da |
|
|
|
83f3da |
(%attribute; | %attributeGroup;)*,
|
|
|
83f3da |
(%anyAttribute;)?) >
|
|
|
83f3da |
|
|
|
83f3da |
name %NCName; #IMPLIED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
ref %QName; #IMPLIED
|
|
|
83f3da |
%attributeGroupAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
name %NCName; #REQUIRED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
%uniqueAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
name %NCName; #REQUIRED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
%keyAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
name %NCName; #REQUIRED
|
|
|
83f3da |
refer %QName; #REQUIRED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
%keyrefAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
xpath %XPathExpr; #REQUIRED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
%selectorAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
xpath %XPathExpr; #REQUIRED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
%fieldAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
schemaLocation %URIref; #REQUIRED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
%includeAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
namespace %URIref; #IMPLIED
|
|
|
83f3da |
schemaLocation %URIref; #IMPLIED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
%importAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
%attributeGroup; | %group;)*>
|
|
|
83f3da |
|
|
|
83f3da |
schemaLocation %URIref; #REQUIRED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
%redefineAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
name %NCName; #REQUIRED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
public CDATA #REQUIRED
|
|
|
83f3da |
system %URIref; #IMPLIED
|
|
|
83f3da |
%notationAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
as all the structures elements -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
to work -->
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
source %URIref; #IMPLIED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
%appinfoAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
source %URIref; #IMPLIED
|
|
|
83f3da |
id ID #IMPLIED
|
|
|
83f3da |
xml:lang CDATA #IMPLIED
|
|
|
83f3da |
%documentationAttrs;>
|
|
|
83f3da |
|
|
|
83f3da |
|
|
|
83f3da |
'structures' 'http://www.w3.org/2001/XMLSchema.xsd' >
|
|
|
83f3da |
|
|
|
83f3da |
'REC-xml-1998-0210' 'http://www.w3.org/TR/1998/REC-xml-19980210' >
|