[Bug 3056] smalll errors in example XQuery

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3056

           Summary: smalll errors in example XQuery
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: XQueryX
        AssignedTo: jim.melton@acm.org
        ReportedBy: andrew.eisenberg@us.ibm.com
         QAContact: public-qt-comments@w3.org


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 < $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>".

Received on Tuesday, 28 March 2006 19:23:08 UTC