Actions
Bug #6497
openSaxonJ-HE 12.5 trace not well-formed when XSLT uses transform function to call template
Status:
New
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2024-08-08
Due date:
% Done:
0%
Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Description
Saxon issue 6302 was about a "trace" start tag without a matching end tag when calling a function via fn:transform(). There wasn't a problem when calling a template.
Although the issue has been fixed in 12.5, there is now an issue with calling a template via fn:transform() where you get a "trace" end tag without a matching start tag.
Using the second test case in 6302, with -Tlevel:normal, I get the following trace output:
<trace saxon-version="12.5" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template name="xsl:initial-template" line="8" column="45" module="parent-stylesheet-template.xsl.xsl">
<xsl:variable name="transform-options" line="9" column="73" module="parent-stylesheet-template.xsl.xsl">
<call expr="fn:transform(...)" line="17" column="66" module="parent-stylesheet-template.xsl.xsl">
<xsl:template name="template-to-call" line="7" column="41" module="target-stylesheet-template.xsl">
</xsl:template>
</trace>
</call>
</xsl:variable>
</xsl:template>
</trace>
Adrian
Please register to edit this issue
Actions