- From: <bugzilla@jessica.w3.org>
- Date: Sun, 15 Mar 2015 17:52:35 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28221
Bug ID: 28221
Summary: [XSLT] (editorial) error in example of try/catch
Product: XPath / XQuery / XSLT
Version: Member-only Editors Drafts
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: XSLT 3.0
Assignee: mike@saxonica.com
Reporter: abel.braaksma@xs4all.nl
QA Contact: public-qt-comments@w3.org
The current example in the try/catch section (under 8.3.2) is as follows:
<xsl:try select="salary div length-of-service">
<xsl:catch errors="err:FOA0001" select="()"/>
</xsl:try>
The error FOA0001 does not exist (and I wonder whether it is mandatory to raise
an error if the EQName does not resolve to an existing error code in the linked
specifications).
It should be err:FOAR0001 (division by zero).
Also note that the third example in this section has a closing "</xsl:try>"
that is incorrectly indented.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Sunday, 15 March 2015 17:52:37 UTC