[Bug 5487] Special status of namespaces xs, xsi, xml etc

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5487





------- Comment #1 from mike@saxonica.com  2008-02-18 09:54 -------
With regards to the "xmlns" namespace (that is, http://www.w3.org/2000/xmlns/),
we ought also to consider whether the value space of QName includes (URI,local)
pairs in which the URI part is equal to this string. If it does, then such
values are ineffable - they can never be created as a result of a validation
episode, and they can never be expressed for example in an enumeration facet.
This is because the infoset clearly states in 2.2 "[in-scope namespaces] does
not contain an item with the prefix xmlns (used for declaring namespaces)...". 

The question has recently arisen in QT of whether it is legal in XPath to
attempt to create such a QName using the constructor
xs:QName("http://www.w3.org/2000/xmlns/", "p")

Received on Monday, 18 February 2008 09:54:25 UTC