This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 3335 - Error code for xsl:message terminate="yes"
Summary: Error code for xsl:message terminate="yes"
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 2.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-15 19:33 UTC by Michael Kay
Modified: 2006-06-15 19:33 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2006-06-15 19:33:08 UTC
An issue arose from the design of the test suite, as to how the test catalog should document the expected outcome of a test that terminates using <xsl:message terminate="yes">. It appeared that the cleanest solution to this question was to allocate an error code to the use of terminate="yes" and treat it as an expected error.

The error code allocated is XTMM9000. I have chosen a new "subtype" to reflect the individual nature of this condition. The text to be added to the specification also recognizes that this is not quite like an ordinary error:

[ERR XTMM9000] When
a transformation is terminated by use of <code>xsl:message terminate="yes"</code>, the effect
is the same as when a <termref def="dt-nonrec-dynamic-error">non-recoverable dynamic error</termref> occurs during the transformation.

As this change has been agreed by the Working Group I will be immediately marking the issue as FIXED and CLOSED.