Actions
Bug #3432
closedError running fn:transform() when TimingTraceListener is set
Start date:
2017-09-07
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.8
Fix Committed on Branch:
9.8
Fixed in Maintenance Release:
Platforms:
Description
When running the attached stylesheet test-XPDY0002-error.xsl I get the following error:
Error in xsl:if/@test on line 18 column 31 of test-fn-transform.xsl:
XPDY0002: Finding root of tree: the context item is absent
But ONLY if TimingTraceListener is set.
The stylesheet uses a package, which in turn uses fn:transform to run a stylesheet test-fn-transform.xsl
test-fn-transform.xsl has a root-level variable set using an XPath from the document root.
Among the set of files attached are a batch file and an Ant build file.
Removing -TP:test-xslt-trace-profile.html from the batch file also removes the error
Removing
and from the Ant XSLT task also removes the error.
I'm using Saxon HE 9.8.0.4
Files
Please register to edit this issue
Actions