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

[Bug 1474] New: [FO] fn:resolve-QName and empty nodes

From: <bugzilla@wiggum.w3.org>
Date: Thu, 19 May 2005 20:08:06 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1DYrJO-00035S-21@wiggum.w3.org>

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

           Summary: [FO] fn:resolve-QName and empty nodes
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: mrys@microsoft.com
         QAContact: public-qt-comments@w3.org
 BugsThisDependsOn: 1467


This is a newer function that has not the right signature. Since the node is 
often calculated by means of a path expression, we should allow empty:

11.1.1 fn:resolve-QName
fn:resolve-QName($qname as xs:string?, $element as element()?) as xs:QName?

...

If the $qname has a prefix and if there is no namespace binding for $element 
that matches this prefix or $element is the empty sequence, then an error is 
raised [err:FONS0004].
Received on Thursday, 19 May 2005 20:08:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:05 UTC