Bug #3027
closed
Duplicated starting element in trace
Fix Committed on Branch:
9.7, trunk
Fixed in Maintenance Release:
Description
When tracing XSLT i find in the trace file a duplicated root element :
What I do:
saxon9-xslt2 -T -traceout:trace.xml -s:t2.xml -xsl:cover-test.xsl
In the trace.xml file:
<xsl:template match="p[child::u]" line="34" column="35" module="cover-test.xsl">
....
Attached the data to reproduce the bug. Note these data are also for the other next bugs I'll fill.
Files
- Category set to Diagnostics
- Status changed from New to In Progress
- Assignee set to Michael Kay
- Priority changed from Low to Normal
Thanks for reporting it.
It seems that two of the four overloads of Xslt30Transformer.applyTemplates() are calling initializeController() after calling prime(), which is unnecessary because prime() has already called initializeController().
- Status changed from In Progress to Resolved
- Applies to branch 9.8 added
- Fix Committed on Branch 9.7, 9.8 added
Removed the excess calls on initializeController().
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in Maintenance Release 9.7.0.12 added
Bug fix applied in the Saxon 9.7.0.12 maintenance release.
- Applies to branch deleted (
9.8)
- Fix Committed on Branch trunk added
- Fix Committed on Branch deleted (
9.8)
Please register to edit this issue
Also available in: Atom
PDF