[Bug 8398] New: [XSLT] order in result of grouping example is wrong

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

           Summary: [XSLT] order in result of grouping example is wrong
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
               URL: http://www.w3.org/TR/xslt20/#grouping-examples
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 2.0
        AssignedTo: mike@saxonica.com
        ReportedBy: martin.honnen@gmx.de
         QAContact: public-qt-comments@w3.org


The example "Grouping Nodes based on Common Values" in
http://www.w3.org/TR/xslt20/#grouping-examples shows the following result:

<table>
  <tr>
    <th>Position</th>
    <th>Country</th>
    <th>List of Cities</th>
    <th>Population</th>
  </tr>
  <tr>
    <td>1</td>
    <td>Italia</td>
    <td>Milano, Venezia</td>
    <td>6</td>
  </tr>
  <tr>
    <td>2</td>
    <td>France</td>
    <td>Lyon, Paris</td>
    <td>9</td>
  </tr>  
  <tr>
    <td>3</td>
    <td>Deutschland</td>
    <td>München</td>
    <td>4</td>
  </tr>  
</table>

I think the order in the third cell (List of Cities) in the third row (key
France) is wrong, it should be "Paris, Lyon", not "Lyon, Paris", as in the
input

  <city name="Milano"  country="Italia"      pop="5"/>
  <city name="Paris"   country="France"      pop="7"/>
  <city name="München" country="Deutschland" pop="4"/>
  <city name="Lyon"    country="France"      pop="2"/>
  <city name="Venezia" country="Italia"      pop="1"/>

city name="Paris" precedes city name="Lyon".


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Sunday, 29 November 2009 14:10:39 UTC