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 10951 - [XSLT 2.0 PER] Error in Macintosh example
Summary: [XSLT 2.0 PER] Error in Macintosh example
Status: NEW
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 2.0 (show other bugs)
Version: Proposed Edited Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-01 08:24 UTC by Michael Kay
Modified: 2010-10-01 08:24 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2010-10-01 08:24:17 UTC
The example introduced by erratum E26, which appears in section 13.1.3 of the PER, is incorrect. It states:

As a further example, if lower-first is requested, then a sorted sequence might be "MacAndrew, macintosh, macIntosh, Macintosh, MacIntosh, macintoshes, Macintoshes, McIntosh". If upper-first is requested, the same sequence would sort as "MacAndrew, MacIntosh, Macintosh, macIntosh, macintosh, MacIntoshes, macintoshes, McIntosh"

These are not in fact sorts of the same sequence. To correct the example, the antepenultimate string in the second sequence should be "Macintoshes" rather than "MacIntoshes".

Michael Kay