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 30071 - [XSLT30]Text about evaluation of accumulator-rule/@select contains list with three items, the middle list item is empty
Summary: [XSLT30]Text about evaluation of accumulator-rule/@select contains list with ...
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 editorial
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: 2017-03-01 14:49 UTC by Martin Honnen
Modified: 2017-04-03 18:21 UTC (History)
1 user (show)

See Also:


Attachments

Description Martin Honnen 2017-03-01 14:49:42 UTC
The text in https://www.w3.org/TR/xslt-30/#accumulator-declaration explains how to evaluate the "expression in the select attribute of xsl:accumulator-rule or the contained sequence constructor" by saying " is evaluated with a static context that follows the normal rules for expressions in stylesheets, except that: " followed by a list with three bullet points, but somehow the middle list item is empty. I am not sure whether there is text missing for the middle item or somehow an empty, superfluous item was introduced in the text.
Comment 1 Michael Kay 2017-03-01 20:33:28 UTC
Thanks for pointing this out. Now fixed. If you're interested, it was caused by the markup

  <item>
    <p diff="del" at="O">No function declared by any
       <elcode>xsl:accumulator</elcode> declaration, including this one, is
       available.</p>
  </item>

where the content of the list item was marked as deleted but the item itself was not.
Comment 2 Michael Kay 2017-03-01 21:20:22 UTC
Recognizing the markup pattern, a quick XPath query found similar examples in 3.5.3.3, 18.2.4, and 19.4 which I have also corrected.