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 28348 - [XT30] Test mode-1426 is dependent on Saxon-specific error and assumes that try/catch and streaming is not allowed
Summary: [XT30] Test mode-1426 is dependent on Saxon-specific error and assumes that t...
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Last Call drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Abel Braaksma
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-26 20:52 UTC by Abel Braaksma
Modified: 2015-05-06 21:20 UTC (History)
0 users

See Also:


Attachments

Description Abel Braaksma 2015-03-26 20:52:56 UTC
The test is equal to mode-1425, which tests on-no-match=fail and catching the error XTDE0555, the difference is that this one uses streaming. The test says in its comment:

<!-- on-no-match=fail, failure case, with streaming; the error is caught, or would be if it were allowed when streaming -->

However, this is no longer true, xsl:try/catch is allowed with streaming.

The body of the template does not follow the rules for streamability of xsl:try/catch, I will update it such that it works with streaming.
Comment 1 Abel Braaksma 2015-03-30 18:43:55 UTC
Fixed and pushed in repository on 2015-03-26.

Fix is to allow catching the error, remove Saxon specific error and to remove the consuming construct in xsl:catch.
Comment 2 Abel Braaksma 2015-05-06 21:20:28 UTC
Was resolved > 30 days ago, closing.