




















|
| |
This package contains an implementation of the W3C XML
Schema language. This implementation is experimental. The
XML Schema
language is still in working draft stage: you
should not consider this implementation complete or correct.
The limitations of this implementation are detailed below.
Please read this document before using this package.
|
| |
This package contains an implementation of a subset of the
W3C XML Schema Language as specified in the 7 April 2000
Working Drafts for Structures and
Datatypes. The
parsers contained in this package are able to read and
validate XML documents with the grammar specified in either
DTD or XML Schema format. There is no functionality for
accessing typed data.
We are making this package available in order to get
feedback on the features in the XML Schema language
design and on representing an XML document's grammar
as part of the document's DOM tree. We intend to update
this package until it implements all of the functionality
of the then current XML Schema Working Draft. If you are
interested in a particular unimplemented feature, we welcome
your feedback on the Xerces-J mailing list.
|
| |
The XML Schema implementation in this package is a
subset of the features defined in the 7 April 2000
XML Schema Working Drafts.
|
| |
- Element declarations
- Model group definitions: group
- Model groups: all, choice, sequence
- Attribute declarations
- Attribute group definitions
- Simple type definitions
- Complex type definitions
- Wildcards: any
- Wildcards: anyAttribute
|
| |
- Identity constraints: unique, key, keyref
- Notation declaration
- Annotation (ignored)
|
| |
- Type derivation
- Anonymous types
- Nested element declaration
- Separate symbol spaces for elements, types, groups, and
attribute groups
- Equivalency classes
- Target namespace
- "xsi:schemaLocation" and "xsl:noNamespacesSchemaLocation"
- Include
- Import
- "xsi:type"
|
| |
- Constraints in Chapter 5
- Nullable
- Block
- Abstract
|
| |
- Built-in simple types (primitive, derived)
- Simple type derivation (restriction, list)
- Regular expressions
- Binary (base64, hex)
- Constraining facets
|
| |
- Date/time -- ISO8601 (work in progress)
|
| |
The schema is specified by the xsi:schemaLocation or
xsi:noNamespaceSchemaLocation attribute on the root
element of the document. The xsi prefix must be bound to the
Schema document instance namespace, as specified by the
working draft specification. See the sample provided in the
Usage section.
|
|
|