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 1473 - [FO] in-scope-prefixes : allow empty sequence as input values
Summary: [FO] in-scope-prefixes : allow empty sequence as input values
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
Depends on: 1467
  Show dependency treegraph
Reported: 2005-05-19 20:07 UTC by Michael Rys
Modified: 2005-09-29 11:26 UTC (History)
0 users

See Also:


Description Michael Rys 2005-05-19 20:07:42 UTC
This is a newer function that has not the right signature. Since the arguments 
are often calculated, we should allow empty:

11.2.6 fn:in-scope-prefixes
fn:in-scope-prefixes($element as element()?) as xs:string*
Summary: Returns the prefixes of the in-scope namespaces for $element. If 
$element is the empty sequence, it returns the empty sequence. For namespaces 
that have a prefix, it returns the prefix as an xs:NCName. For the default 
namespace, which has no prefix, it returns the zero-length string.
Comment 1 Mary Holstege 2005-07-21 20:44:48 UTC
The working group considered this comment at its meeting today
and decided not to accept it. For rationale, please see bug 1467.