Bug #3027
closedDuplicated starting element in trace
100%
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
Updated by Michael Kay about 8 years ago
- 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().
Updated by Michael Kay about 8 years ago
- 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().
Updated by O'Neil Delpratt about 8 years ago
- 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.
Updated by O'Neil Delpratt over 7 years ago
- 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