[Bug 1242] New: Typo in 2nd example for distinct-values()

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

           Summary: Typo in 2nd example for distinct-values()
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: jeni@jenitennison.com
         QAContact: public-qt-comments@w3.org


The second example of distinct-values() (Section 15.1.6.1) is:

let $x as xdt:untypedAtomic*
    := (xdt:untypedAtomic("cherry"),
        xdt:untypedAtomic("bar"),
        xdt:untypedAtomic("bar")
return fn:distict-values ($x)

It should be:

let $x as xdt:untypedAtomic*
    := (xdt:untypedAtomic("cherry"),
        xdt:untypedAtomic("bar"),
        xdt:untypedAtomic("bar"))
return fn:distict-values ($x)

(extra close-bracket on 4th line)

Received on Tuesday, 12 April 2005 16:32:06 UTC