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 1242 - Typo in 2nd example for distinct-values()
Summary: Typo in 2nd example for distinct-values()
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: P2 minor
Target Milestone: ---
Assignee: Ashok Malhotra
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-12 16:32 UTC by Jeni Tennison
Modified: 2005-04-13 12:02 UTC (History)
0 users

See Also:


Attachments

Description Jeni Tennison 2005-04-12 16:32:06 UTC
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)