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

From
Michael Kay <>
To
Date
2010-08-30T18:26:48Z
ID
<>
Thread
Re: [xml-dev] Quiz: how many namespaces are in scope?
> NOTE: it is illegal to explicitly declare the xml namespace. The xml namespace is built into every XML application.
>

Wrong. The Namespaces Rec states:

Namespace constraint: Reserved Prefixes and Namespace Names

The prefix xml is by definition bound to the namespace name 
http://www.w3.org/XML/1998/namespace. It MAY, but need not, be declared, 
and MUST NOT be bound to any other namespace name. Other prefixes MUST 
NOT be bound to this namespace name, and it MUST NOT be declared as the 
default namespace.

Michael Kay
Saxonica