Re: [xml-dev] Quiz: how many namespaces are in scope?

From
Michael Glavassevich <>
To
"Costello, Roger L." <>
Date
2010-08-30T18:24:39Z
ID
<>
Thread
Re: [xml-dev] Quiz: how many namespaces are in scope?

"Costello, Roger L." <[email protected]> wrote on 08/30/2010 01:57:35 PM:

<snip/>


> NOTE: it is illegal to explicitly declare the xml namespace. The xml
> namespace is built into every XML application.

It is *legal* [1] to declare it provided that it's bound to the 'xml' prefix (with namespace name 'http://www.w3.org/XML/1998/namespace').

> Since the xml namespace is implicitly declared in every XML
> document, you can immediately use the xml:lang attribute and the
> xml:space attribute, e.g.,

[1] http://www.w3.org/TR/REC-xml-names/#xmlReserved

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [email protected]

E-mail: [email protected]