W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2008

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

From: <bugzilla@wiggum.w3.org>
Date: Mon, 18 Feb 2008 09:54:20 +0000
CC:
To: www-xml-schema-comments@w3.org
Message-Id: <E1JR2hY-00050M-TZ@wiggum.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:13 GMT