This Version: 26 October 2009
The namespace whose name is
http://www.w3.org/XML/1998/namespace
is bound by definition to
the prefix xml:
according to
Namespaces in XML (and by Namespaces in XML 1.1).
Note that unlike all other XML namespaces, both the name and
the prefix are specified;
i.e., if you want XML 1.0 processors to recognize this namespace, you must use
the reserved prefix xml:
.
xml:lang
and xml:space
As of the last update of this document, the XML 1.0 Specification (Fifth edition) (and also the XML 1.1 Specification Second edition) defines two attribute names in this namespace:
xml:lang
xml:space
xml:base
The XML Base specification
(Second edition)
describes a facility, similar to that of HTML BASE, for defining base URIs for
parts of XML documents.
It defines a single attribute, xml:base
, and describes in
detail the procedure for its use in processing relative URI refeferences.
xml:id
The xml:id specification defines
a single attribute, xml:id
, known to be of type ID
independently of any DTD or schema.
denotes Jon Bosak, the chair of the original XML Working Group. This name is reserved by the following decision of the W3C XML Plenary and XML Coordination groups:
In appreciation for his vision, leadership and dedication the W3C XML Plenary on this 10th day of February, 2000, reserves for Jon Bosak in perpetuity the XML name "xml:Father".
The XML Core Working Group reserves the right to bring additional names from this namespace into active use by providing definitions for them in new specifications or subsequent editions of existing specifications. The Working Group may also make modifications to the definitions of the names already in use, although such changes will not normally change the well-formedness or validity of existing documents or significantly change their meaning.
All changes to the use of this namespace will be achieved by the publication of documents governed by the W3C Process.
The XML specification reserves all names beginning with the letters 'x', 'm', 'l' in any combination of upper- and lower-case for use by the W3C. To date three such names have been given definitions—although these names are not in the XML namespace, they are listed here as a convenience to readers and users:
Section
2.10 of the XML 1.0 specification describes the syntax and semantics of
the xml:space
attribute.
Section
2.12 of the XML 1.0 specification describes the syntax and semantics of
the xml:lang
attribute.
An XML Schema
fragment
is available which constrains the syntax of xml:lang
, xml:space
,
xml:base
and xml:id
in the schema language defined by the XML Schema Recommendation, Second Edition,
of 28 October 2004.
(An XML Schema fragment for the CR version of XML Schema is still available as well.)
The value of the xml:lang
attribute must be as specified
by BCP 47,
or be empty.
The W3C XML Base
specification for the xml:base
attribute.
The W3C xml:id
specification for the xml:id
attribute.