[Bug 1426] New: [FO] in-scope-prefixes and namespace-uri-for-prefix: allow empty sequence as input values

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

           Summary: [FO] in-scope-prefixes and namespace-uri-for-prefix:
                    allow empty sequence as input values
           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


fn:namespace-uri-for-prefix($prefix as xs:string, $element as element
()) as xs:anyURI?

and

fn:in-scope-prefixes($element as element()) as xs:string*

should both accept optional arguments since the parameters may often be passed 
by expressions which can lead to static type errors. Meaningful results when 
empty sequence is passed is to return the empty sequence.

Received on Friday, 13 May 2005 21:36:52 UTC