W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2015

[Bug 28955] [XSLT30] xsl:try should probably include xs:error in its enumeration

From: <bugzilla@jessica.w3.org>
Date: Sat, 12 Sep 2015 21:47:01 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28955-523-5dqyX72l6L@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28955

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Michael Kay <mike@saxonica.com> ---
The text has been clarified as follows, to emphasize that all dynamic errors
are caught and the list only includes selected examples:

All dynamic errors occurring during the evaluation of the xsl:try sequence
constructor or select expression are caught (provided they match one of the
xsl:catch elements). 

<note>
 * This includes errors occurring in functions or templates invoked in
 the course of this evaluation, unless already caught by a nested
 xsl:try.

  * It also includes (for
    example) errors caused by calling the error function, or the xsl:message  
terminate="yes", or the xsl:assert instruction, or the xs:error constructor
function.

  * It does not include errors that occur while evaluating references to
    variables whose declaration and initialization is outside the
    xsl:try.

</note>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Saturday, 12 September 2015 21:47:04 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 12 September 2015 21:47:04 UTC