Actions
Bug #6599
openSequence interacts badly with try/catch
Status:
New
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2024-11-28
Due date:
% Done:
0%
Estimated time:
Applies to JS Branch:
Fix Committed on JS Branch:
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-
Description
This bug is related to <Bug #5743>
So, this test :
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:err="http://www.w3.org/2005/xqt-errors"
version="3.0">
<xsl:output method="xml" indent="yes"/>
<xsl:template name="test">
<xsl:variable name="erreur" select="(1,2,3)" as="item()*" />
<hey>
<xsl:try>
<xsl:sequence select="error((), 'BANG', $erreur)"/>
<xsl:catch>
<xsl:sequence select="$err:value"/>
</xsl:catch>
</xsl:try>
</hey>
</xsl:template>
</xsl:stylesheet>
produces
<hey xmlns:err="http://www.w3.org/2005/xqt-errors">1</hey>
but i think it should produce
<hey xmlns:err="http://www.w3.org/2005/xqt-errors">1 2 3</hey>
as it does with SaxonJ
No data to display
Please register to edit this issue
Actions
Also available in: Atom PDF Tracking page