W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2007

[Bug 4169] Renaming PI using QName

From: <bugzilla@wiggum.w3.org>
Date: Thu, 11 Jan 2007 11:14:21 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1H4xsz-0000iD-J5@wiggum.w3.org>

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





------- Comment #2 from john.snelson@oracle.com  2007-01-11 11:14 -------
There is no president for converting an xs:QName to an xs:NCName in any of the
XQuery specifications, and so I feel this needs to be discussed. Their are
certainly two acceptable methods that I can think of:

1) Take the localname from the QName, and ignore the prefix and URI.
2) Take the localname from the QName, but raise an error if there is a prefix
or URI present.

You might also want to consider an xs:QName that hasn't got a prefix set, but
has picked up a default namespace from somewhere.
Received on Thursday, 11 January 2007 11:14:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:46 GMT