Project

Profile

Help

Bug #3789

closed

Component reference variable is already bound, when compiling XSLT to SEF for Saxon-JS

Added by Radu Coravu over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internals
Sprint/Milestone:
-
Start date:
2018-05-17
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.8, trunk
Fix Committed on Branch:
9.8, trunk
Fixed in Maintenance Release:
Platforms:

Description

I'm attaching the XSLT, problem seems to occur even when using command line with Saxon 9.8.0.12:

java -cp saxon9ee.jar;. net.sf.saxon.Transform -t -xsl:C:\path\component-reference-variable-already-bound.xsl -export:file.sef -target:JS -nogo
Exception in thread "main" java.lang.AssertionError: **** Component reference variable matchElement is already bound
        at net.sf.saxon.expr.instruct.Actor.processComponentReference(Actor.java:146)
        at net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:109)
        at net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:112)
        at net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:112)
        at net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:112)
        at net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:112)
        at net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:112)
        at net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:112)
        at net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:112)
        at net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:112)
        at net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:112)
        at net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:112)
        at net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:112)
        at net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:112)
        at net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:112)
        at net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:112)
        at net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:112)
        at net.sf.saxon.expr.instruct.Actor.allocateAllBindingSlots(Actor.java:103)
        at net.sf.saxon.style.PrincipalStylesheetModule.compile(PrincipalStylesheetModule.java:1379)
        at net.sf.saxon.style.Compilation.compilePackage(Compilation.java:328)
        at net.sf.saxon.style.StylesheetModule.loadStylesheet(StylesheetModule.java:258)
        at net.sf.saxon.style.Compilation.compileSingletonPackage(Compilation.java:106)
        at net.sf.saxon.s9api.XsltCompiler.compile(XsltCompiler.java:739)
        at net.sf.saxon.Transform.doTransform(Transform.java:709)
        at net.sf.saxon.Transform.main(Transform.java:81)

Files

Please register to edit this issue

Also available in: Atom PDF