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 15034 - [XQuery30] misleading example for context item declaration
Summary: [XQuery30] misleading example for context item declaration
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-02 00:16 UTC by Andrew Eisenberg
Modified: 2011-12-12 15:08 UTC (History)
0 users

See Also:


Attachments

Description Andrew Eisenberg 2011-12-02 00:16:31 UTC
Section 4.17 Context Item Declaration contains the example:

declare context item := collection("docs");


This example should be dropped, as this declaration will raise an error for a collection that contains more than one document.
Comment 1 Jonathan Robie 2011-12-10 19:37:51 UTC
Done. Thanks.
Comment 2 Jonathan Robie 2011-12-10 19:38:14 UTC
Done. Thanks.