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 15070 - [XQuery30] filter example is no longer correct
Summary: [XQuery30] filter example is no longer correct
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0 (show other bugs)
Version: Working drafts
Hardware: PC Windows XP
: P2 minor
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-05 23:18 UTC by Andrew Eisenberg
Modified: 2011-12-12 15:04 UTC (History)
0 users

See Also:


Attachments

Description Andrew Eisenberg 2011-12-05 23:18:02 UTC
The final example in section 3.2.1 Filter Expressions is:

o The following example also illustrates the use of a filter expression as a step in a path expression. It returns the element node within the specified document whose ID value is tiger:

fn:doc("zoo.xml")/fn:id('tiger')


This was a filter expression in XQuery 1.0, when we defined a filter expression  as a primary expression followed by zero or more predicates. We now define a filter expression as an expression followed by a predicate.
Comment 1 Jonathan Robie 2011-12-11 19:45:53 UTC
Thanks - that example has now been removed.