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

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 21 Aug 2015 08:15:25 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28955-523-D7h1Sa8u4m@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28955

--- Comment #2 from Michael Kay <mike@saxonica.com> ---
The first sentence tries to be comprehensive "All dynamic errors occurring
during the evaluation.. are caught". There is little room for doubt about what
constitutes a dynamic error, but there is room for debate about what "during
the evaluation" means. The further paragraphs attempt to explain some cases
where an error is considered to occur "during the evaluation", and others where
it does not occur "during the evaluation".

I think the text makes it clear that when an error occurs evaluating the
initialising expression of a variable, the error is "during" the xsl:try if the
variable declaration is within the xsl:try, and not otherwise.

I think we also make it clear that type errors can be detected statically (in
which case they aren't caught), or dynamically (in which case they are).

I can't really see that xs:error() is different in this respect from other type
errors, e.g. xs:date(23), or that it merits special rules.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 21 August 2015 08:15:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:55 UTC