Actions
Bug #5198
closedNodeJS run from command-line with '-it:main' arg results in error when using mode="#current"
Start date:
2022-01-08
Due date:
% Done:
100%
Estimated time:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-
Description
This fails with SaxonJS 2.3 but the same XSLT runs OK using the Java version of Saxon. Here is the SaxonJS standard output:
Saxon-JS
2.3
==== Watch Variables ====
doc: books
Transformation failure: TypeError: Cannot read properties of undefined (reading 'Ib')
Cannot read properties of undefined (reading 'Ib')
The terminal process "npx 'xslt3', '-xsl:/Users/philipf/video-demos/init-template/test.xsl', '-it:main', '-o:/Users/philipf/video-demos/init-template/xslt-out/result1.xml'" terminated with exit code: 2.
The input file 'input.xsl' and the stylesheet file 'test.xsl' are attached. The actual command-liine used is in the error message above.
I'm guessing that the xsl:for-each instruction in test.xsl is not setting the context item required by xsl:copy as one would expect.
Files
Please register to edit this issue
Actions
Also available in: Atom PDF Tracking page