W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2005

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

From: <bugzilla@wiggum.w3.org>
Date: Tue, 26 Apr 2005 13:25:06 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1DQQ3m-0002cE-QP@wiggum.w3.org>

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 GMT

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