Bug #5413
closedTest case accept-0903 crashes (when compiled with XJ)
100%
Description
The test is crashing at transform.js#591
const template = templateComp.decl["C"][0];
because templateComp
(the component corresponding to the named template xsl:initial-template) has a decl property with no C property.
The test cannot be run with the XX compiler as this does not currently handle multiple packages.
Updated by Michael Kay over 2 years ago
- Applies to JS Branch 2, Trunk added
- Fix Committed on JS Branch 2, Trunk added
Changing this line to
const template = templateComp.actor;
Seems to do the trick.
The problem occurs when invoking a transformation using a named template, when the template in question is not in the root package of the stylesheet, but in a used package.
Updated by Debbie Lockett over 2 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in JS Release set to SaxonJS 2.4
Bug fix applied in the SaxonJS 2.4 maintenance release.
Please register to edit this issue
Also available in: Atom PDF Tracking page