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

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

From: <bugzilla@wiggum.w3.org>
Date: Fri, 13 May 2005 21:36:46 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1DWhpu-0007ZD-P2@wiggum.w3.org>

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

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