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 3056 - smalll errors in example XQuery
Summary: smalll errors in example XQuery
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQueryX 1.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows XP
: P2 trivial
Target Milestone: ---
Assignee: Jim Melton
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-28 19:22 UTC by Andrew Eisenberg
Modified: 2006-04-27 13:31 UTC (History)
0 users

See Also:


Attachments

Description Andrew Eisenberg 2006-03-28 19:22:59 UTC
Section 5, A Trivial Embedding of XQuery, contains the following:

"The following two more complete examples (which are equivalent to one another and to "for $i in (1 to 5) let $j := 4 where $i &lt; $j return <x/><i>{$i}</i></x>") ..."

I believe that this example should read:

for $i in (1 to 5) let $j := 4 where $i < $j return <x><i>{$i}</i></x>

This changes "&lt;" to "<" and "<x/>" to "<x>".
Comment 1 Jim Melton 2006-04-27 13:30:57 UTC
Thanks for reporting these errors in the example.  You are right on both counts and the changes that you suggest have been implemented. 

Because we have made the changes that you suggested, we presume that you are satisfied with this resolution and we are thus closing this bug.