|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
|
ef2583 |
xmlns ="http://www.w3.org/1999/xhtml"
|
|
|
ef2583 |
xml:lang="en">
|
|
|
ef2583 |
|
|
|
ef2583 |
<xs:annotation>
|
|
|
ef2583 |
<xs:documentation>
|
|
|
ef2583 |
|
|
|
ef2583 |
About the XML namespace
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
This schema document describes the XML namespace, in a form
|
|
|
ef2583 |
suitable for import by other schema documents.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
See
|
|
|
ef2583 |
http://www.w3.org/XML/1998/namespace.html and
|
|
|
ef2583 |
|
|
|
ef2583 |
http://www.w3.org/TR/REC-xml for information
|
|
|
ef2583 |
about this namespace.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
Note that local names in this namespace are intended to be
|
|
|
ef2583 |
defined only by the World Wide Web Consortium or its subgroups.
|
|
|
ef2583 |
The names currently defined in this namespace are listed below.
|
|
|
ef2583 |
They should not be used with conflicting semantics by any Working
|
|
|
ef2583 |
Group, specification, or document instance.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
See further below in this document for more information about
|
|
|
ef2583 |
href="#usage">how to refer to this schema document from your own
|
|
|
ef2583 |
XSD schema documents and about the
|
|
|
ef2583 |
namespace-versioning policy governing this schema document.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
</xs:documentation>
|
|
|
ef2583 |
</xs:annotation>
|
|
|
ef2583 |
|
|
|
ef2583 |
<xs:attribute name="lang">
|
|
|
ef2583 |
<xs:annotation>
|
|
|
ef2583 |
<xs:documentation>
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
lang (as an attribute name)
|
|
|
ef2583 |
|
|
|
ef2583 |
denotes an attribute whose value
|
|
|
ef2583 |
is a language code for the natural language of the content of
|
|
|
ef2583 |
any element; its value is inherited. This name is reserved
|
|
|
ef2583 |
by virtue of its definition in the XML specification.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
Notes
|
|
|
ef2583 |
|
|
|
ef2583 |
Attempting to install the relevant ISO 2- and 3-letter
|
|
|
ef2583 |
codes as the enumerated possible values is probably never
|
|
|
ef2583 |
going to be a realistic possibility.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
See BCP 47 at
|
|
|
ef2583 |
http://www.rfc-editor.org/rfc/bcp/bcp47.txt
|
|
|
ef2583 |
and the IANA language subtag registry at
|
|
|
ef2583 |
|
|
|
ef2583 |
http://www.iana.org/assignments/language-subtag-registry
|
|
|
ef2583 |
for further information.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
The union allows for the 'un-declaration' of xml:lang with
|
|
|
ef2583 |
the empty string.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
</xs:documentation>
|
|
|
ef2583 |
</xs:annotation>
|
|
|
ef2583 |
<xs:simpleType>
|
|
|
ef2583 |
<xs:union memberTypes="xs:language">
|
|
|
ef2583 |
<xs:simpleType>
|
|
|
ef2583 |
<xs:restriction base="xs:string">
|
|
|
ef2583 |
<xs:enumeration value=""/>
|
|
|
ef2583 |
</xs:restriction>
|
|
|
ef2583 |
</xs:simpleType>
|
|
|
ef2583 |
</xs:union>
|
|
|
ef2583 |
</xs:simpleType>
|
|
|
ef2583 |
</xs:attribute>
|
|
|
ef2583 |
|
|
|
ef2583 |
<xs:attribute name="space">
|
|
|
ef2583 |
<xs:annotation>
|
|
|
ef2583 |
<xs:documentation>
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
space (as an attribute name)
|
|
|
ef2583 |
|
|
|
ef2583 |
denotes an attribute whose
|
|
|
ef2583 |
value is a keyword indicating what whitespace processing
|
|
|
ef2583 |
discipline is intended for the content of the element; its
|
|
|
ef2583 |
value is inherited. This name is reserved by virtue of its
|
|
|
ef2583 |
definition in the XML specification.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
</xs:documentation>
|
|
|
ef2583 |
</xs:annotation>
|
|
|
ef2583 |
<xs:simpleType>
|
|
|
ef2583 |
<xs:restriction base="xs:NCName">
|
|
|
ef2583 |
<xs:enumeration value="default"/>
|
|
|
ef2583 |
<xs:enumeration value="preserve"/>
|
|
|
ef2583 |
</xs:restriction>
|
|
|
ef2583 |
</xs:simpleType>
|
|
|
ef2583 |
</xs:attribute>
|
|
|
ef2583 |
|
|
|
ef2583 |
<xs:attribute name="base" type="xs:anyURI"> <xs:annotation>
|
|
|
ef2583 |
<xs:documentation>
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
base (as an attribute name)
|
|
|
ef2583 |
|
|
|
ef2583 |
denotes an attribute whose value
|
|
|
ef2583 |
provides a URI to be used as the base for interpreting any
|
|
|
ef2583 |
relative URIs in the scope of the element on which it
|
|
|
ef2583 |
appears; its value is inherited. This name is reserved
|
|
|
ef2583 |
by virtue of its definition in the XML Base specification.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
See
|
|
|
ef2583 |
href="http://www.w3.org/TR/xmlbase/">http://www.w3.org/TR/xmlbase/
|
|
|
ef2583 |
for information about this attribute.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
</xs:documentation>
|
|
|
ef2583 |
</xs:annotation>
|
|
|
ef2583 |
</xs:attribute>
|
|
|
ef2583 |
|
|
|
ef2583 |
<xs:attribute name="id" type="xs:ID">
|
|
|
ef2583 |
<xs:annotation>
|
|
|
ef2583 |
<xs:documentation>
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
id (as an attribute name)
|
|
|
ef2583 |
|
|
|
ef2583 |
denotes an attribute whose value
|
|
|
ef2583 |
should be interpreted as if declared to be of type ID.
|
|
|
ef2583 |
This name is reserved by virtue of its definition in the
|
|
|
ef2583 |
xml:id specification.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
See
|
|
|
ef2583 |
href="http://www.w3.org/TR/xml-id/">http://www.w3.org/TR/xml-id/
|
|
|
ef2583 |
for information about this attribute.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
</xs:documentation>
|
|
|
ef2583 |
</xs:annotation>
|
|
|
ef2583 |
</xs:attribute>
|
|
|
ef2583 |
|
|
|
ef2583 |
<xs:attributeGroup name="specialAttrs">
|
|
|
ef2583 |
<xs:attribute ref="xml:base"/>
|
|
|
ef2583 |
<xs:attribute ref="xml:lang"/>
|
|
|
ef2583 |
<xs:attribute ref="xml:space"/>
|
|
|
ef2583 |
<xs:attribute ref="xml:id"/>
|
|
|
ef2583 |
</xs:attributeGroup>
|
|
|
ef2583 |
|
|
|
ef2583 |
<xs:annotation>
|
|
|
ef2583 |
<xs:documentation>
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
Father (in any context at all)
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
denotes Jon Bosak, the chair of
|
|
|
ef2583 |
the original XML Working Group. This name is reserved by
|
|
|
ef2583 |
the following decision of the W3C XML Plenary and
|
|
|
ef2583 |
XML Coordination groups:
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
In appreciation for his vision, leadership and
|
|
|
ef2583 |
dedication the W3C XML Plenary on this 10th day of
|
|
|
ef2583 |
February, 2000, reserves for Jon Bosak in perpetuity
|
|
|
ef2583 |
the XML name "xml:Father".
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
</xs:documentation>
|
|
|
ef2583 |
</xs:annotation>
|
|
|
ef2583 |
|
|
|
ef2583 |
<xs:annotation>
|
|
|
ef2583 |
<xs:documentation>
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
This schema defines attributes and an attribute group suitable
|
|
|
ef2583 |
for use by schemas wishing to allow xml:base ,
|
|
|
ef2583 |
xml:lang , xml:space or
|
|
|
ef2583 |
xml:id attributes on elements they define.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
To enable this, such a schema must import this schema for
|
|
|
ef2583 |
the XML namespace, e.g. as follows:
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
<schema . . .>
|
|
|
ef2583 |
. . .
|
|
|
ef2583 |
<import namespace="http://www.w3.org/XML/1998/namespace"
|
|
|
ef2583 |
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
or
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
<import namespace="http://www.w3.org/XML/1998/namespace"
|
|
|
ef2583 |
schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
Subsequently, qualified reference to any of the attributes or the
|
|
|
ef2583 |
group defined below will have the desired effect, e.g.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
<type . . .>
|
|
|
ef2583 |
. . .
|
|
|
ef2583 |
<attributeGroup ref="xml:specialAttrs"/>
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
will define a type which will schema-validate an instance element
|
|
|
ef2583 |
with any of those attributes.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
</xs:documentation>
|
|
|
ef2583 |
</xs:annotation>
|
|
|
ef2583 |
|
|
|
ef2583 |
<xs:annotation>
|
|
|
ef2583 |
<xs:documentation>
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
In keeping with the XML Schema WG's standard versioning
|
|
|
ef2583 |
policy, this schema document will persist at
|
|
|
ef2583 |
|
|
|
ef2583 |
http://www.w3.org/2009/01/xml.xsd.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
At the date of issue it can also be found at
|
|
|
ef2583 |
|
|
|
ef2583 |
http://www.w3.org/2001/xml.xsd.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
The schema document at that URI may however change in the future,
|
|
|
ef2583 |
in order to remain compatible with the latest version of XML
|
|
|
ef2583 |
Schema itself, or with the XML namespace itself. In other words,
|
|
|
ef2583 |
if the XML Schema or XML namespaces change, the version of this
|
|
|
ef2583 |
document at
|
|
|
ef2583 |
http://www.w3.org/2001/xml.xsd
|
|
|
ef2583 |
|
|
|
ef2583 |
will change accordingly; the version at
|
|
|
ef2583 |
|
|
|
ef2583 |
http://www.w3.org/2009/01/xml.xsd
|
|
|
ef2583 |
|
|
|
ef2583 |
will not change.
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
Previous dated (and unchanging) versions of this schema
|
|
|
ef2583 |
document are at:
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
http://www.w3.org/2009/01/xml.xsd
|
|
|
ef2583 |
|
|
|
ef2583 |
http://www.w3.org/2007/08/xml.xsd
|
|
|
ef2583 |
|
|
|
ef2583 |
http://www.w3.org/2004/10/xml.xsd
|
|
|
ef2583 |
|
|
|
ef2583 |
http://www.w3.org/2001/03/xml.xsd
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
|
|
|
ef2583 |
</xs:documentation>
|
|
|
ef2583 |
</xs:annotation>
|
|
|
ef2583 |
|
|
|
ef2583 |
</xs:schema>
|