W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2017

[Bug 30056] New: [XSLT30]Example input and output in streamed grouping example in diff document https://www.w3.org/XML/Group/qtspecs/specifications/xslt-30/html/Overview-diff.html#stream-examples don't match

From: <bugzilla@jessica.w3.org>
Date: Sat, 28 Jan 2017 17:52:36 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-30056-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=30056

            Bug ID: 30056
           Summary: [XSLT30]Example input and output in streamed grouping
                    example in diff document
                    https://www.w3.org/XML/Group/qtspecs/specifications/xs
                    lt-30/html/Overview-diff.html#stream-examples don't
                    match
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: editorial
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: martin.honnen@gmx.de
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

While reading
https://www.w3.org/XML/Group/qtspecs/specifications/xslt-30/html/Overview-diff.html#stream-examples
I noticed that for the example "Using xsl:source-document with
xsl:for-each-group" the input and output don't match because the input sample
has "chapter" elements with "title" child elements (e.g.

 <chapter part="1">
    <title>The first chapter of book A</title>
    ...
  </chapter>

) while the result document has "title" attributes (e.g. 

    <chapter title="The first chapter of book A" part="1">
      ...
    </chapter>

) although the XSLT does simply use 

         <xsl:for-each-group select="chapter" group-adjacent="data(@part)">
            <part number="{current-grouping-key()}">
               <xsl:copy-of select="current-group()"/>
            </part>
         </xsl:for-each-group>

so it does not modify the "chapter" elements. The document
https://www.w3.org/XML/Group/qtspecs/specifications/xslt-30/html/#stream-examples
does not have this problem, so somehow the example in the diff.html is
different from the one in the spec document.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Saturday, 28 January 2017 17:52:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:03 UTC