[Bug 4169] Renaming PI using QName

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 UTC