Test case accept-0903 crashes (when compiled with XJ)
The test is crashing at transform.js#591
const template = templateComp.decl["C"];
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 1 year 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.
Please register to edit this issue