Actions
Bug #5743
closed![Author: Norm Tovey-Walsh](https://www.gravatar.com/avatar/3de1450075377c998ad80d1ede6e0712?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
Expand text interacts badly with try/catch
Status:
Resolved
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2022-11-24
Due date:
% Done:
0%
Estimated time:
Applies to JS Branch:
2, Trunk
Fix Committed on JS Branch:
2, Trunk
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-
Description
This test:
<fred>
<xsl:try>
{error((), "BANG")}
<xsl:catch>
<xsl:sequence select="'CAUGHT'"/>
</xsl:catch>
</xsl:try>
</fred>
produces
<fred/>
where I think it should produce
<fred>CAUGHT</fred>
(As it does with SaxonJ).
Updated by Norm Tovey-Walsh 10 months ago
This only occurs if the XX compiler is used
Updated by Norm Tovey-Walsh 8 days ago
In fact, it appears that the XX compiler does not process the text()
node children of xsl:try
. It's not directly related to expand-text at all. (Good one @Debbie)
Updated by Norm Tovey-Walsh 7 days ago
- Status changed from New to Resolved
Indeed, the problem was that text nodes that were direct children of xsl:try
were being lost.
Updated by Norm Tovey-Walsh 7 days ago
- Applies to JS Branch 2, Trunk added
- Fix Committed on JS Branch 2, Trunk added
Please register to edit this issue
Actions
Also available in: Atom PDF Tracking page