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
To: public-qt-comments@w3.org
Message-Id: <E1H4xsz-0000iD-J5@wiggum.w3.org>


------- 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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:32 UTC