[Bug 1271] What if $paramQName has colon, but $paramURI is empty?

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





------- Additional Comments From jonathan.robie@datadirect.com  2005-04-26 13:25 -------
Here are some queries for which we need to define behavior:

fn:QName((),"p:e")

element {fn:QName((),"p:e")} {}

Note that the element constructor will want to take the namespace URI from the
QName:

     If the atomized value of the name expression is of type xs:QName,
     that expanded QName is used as the node-name property of the
     constructed element, retaining the prefix part of the QName.

If we raise an error, as I suggest, then the following query raises an error,
even though we could assign a reasonable interpretation to it:

<e xmlns:p=”uri”>{ fn:QName((),"p:e")}</e>

Received on Tuesday, 26 April 2005 13:25:11 UTC