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
Message-Id: <E1DQQ3m-0002cE-QP@wiggum.w3.org>


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


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

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

     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

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