- From: <bugzilla@jessica.w3.org>
- Date: Fri, 09 Jun 2017 08:20:41 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=30123 Bug ID: 30123 Summary: [xslt30]Example in https://www.w3.org/TR/xslt-30/#streamable-stylesheet-f unctions defines parameter named "input", explaining text talks about "$nodes" argument Product: XPath / XQuery / XSLT Version: Recommendation 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 exploring streamable stylesheet functions with Saxon 9.8 I found that the example "An absorbing stylesheet function" in https://www.w3.org/TR/xslt-30/#streamable-stylesheet-functions has the code <xsl:function name="f:count-descendants" as="xs:integer" streamability="absorbing"> <xsl:param name="input" as="node()*"/> <xsl:sequence select="count($input//*)"/> </xsl:function> so it defines the argument of the function with the name "input", however the explaining text then says "The effect of the rules is that a call to this function is guaranteed-streamable provided that the sequence supplied as the value of the $nodes argument is motionless or consuming, and is either grounded or striding.", that is, it uses the name "nodes" and not the name "input". So the text and the code are inconsistent as far as the argument name is concerned. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Friday, 9 June 2017 08:20:49 UTC