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


           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