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 17029 - [FO30] outermost() equivalence
Summary: [FO30] outermost() equivalence
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.0 (show other bugs)
Version: Last Call drafts
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-10 13:33 UTC by Michael Kay
Modified: 2012-05-15 17:37 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2012-05-10 13:33:07 UTC
The specification of outermost() says: The effect of the function call fn:outermost($nodes) is defined to be equivalent to the result of the expression $nodes[not(ancestor::node() intersect $nodes)].

However, it also says that the result is in document order with duplicates eliminated. The expression given does not achieve this. An equivalent expression that has this property would be

$nodes[not(ancestor::node() intersect $nodes)]/.
Comment 1 Michael Kay 2012-05-15 16:10:00 UTC
The WG agreed to change the equivalent expression as described.