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

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