Re: xml:id versus xmlid

Norman Walsh wrote:
> | Norman Walsh wrote:
> |
> |> | //*/@xml:id when xml: is not bound.
> |> XPath context/API initialized incorrectly. Bug.
> |
> | What part of the XPath 1.0 specification justifies this interpretation? I can't
> | find it. Does 2.0 clear this up?
> |
> |> | //*/@foo:id when foo: is bound to the XML Namespace URI.
> |> XPath context/API initialized incorrectly. Bug.
> |
> | Ditto. What part of the XPath 1.0 specification says that the foo prefix can't
> | be mapped to the XML namespace URI?
> 
> I think it follows from "The prefix xml is by definition bound to the
> namespace name http://www.w3.org/XML/1998/namespace." in the namespaces
> recommendation.
> 
> I thought there was a statement somewhere that it was illegal to bind
> any other prefix to that URI but I can't find it quickly.

See: <http://www.w3.org/TR/xml-names11/#xmlReserved>


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>

Received on Tuesday, 26 April 2005 14:54:22 UTC