This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 1426 - [FO] in-scope-prefixes and namespace-uri-for-prefix: allow empty sequence as input values
Summary: [FO] in-scope-prefixes and namespace-uri-for-prefix: allow empty sequence as ...
Status: CLOSED DUPLICATE of bug 1470
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Ashok Malhotra
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-13 21:36 UTC by Michael Rys
Modified: 2005-05-19 20:19 UTC (History)
0 users

See Also:


Attachments

Description Michael Rys 2005-05-13 21:36:46 UTC
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.
Comment 1 Michael Rys 2005-05-19 20:19:19 UTC
Opened one for each function with proposed resolution.

*** This bug has been marked as a duplicate of 1470 ***