David Carlisle
2017-06-19 19:03:32 UTC
I'm getting the following java error when processing a reasonably large
stylesheet (on any input) with saxon HE 9.8.
I am having some trouble cutting down the stylesheet to something
manageable to make a reproducible test case, but perhaps the stack trace
is enough if you know what you are looking for?
If not I will try harder tomorrow to isolate the example,
David
*** Bad parent pointer found in
element(Q{}section)[Q{data:,NAG}thislib(.)] union
element()[ends-with(name(.), "-sec")][Q{data:,NAG}thislib(.)] at 2682 ***
Exception in thread "main" java.lang.AssertionError: **** Component
reference is already bound
at
net.sf.saxon.expr.instruct.Actor.processComponentReference(Actor.java:145)
at
net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:108)
at
net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:111)
at
net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:111)
at
net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:111)
at
net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:111)
at
net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:111)
at
net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:111)
at
net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:111)
at net.sf.saxon.expr.instruct.Actor.allocateAllBindingSlots(Actor.java:102)
at
net.sf.saxon.style.PrincipalStylesheetModule.compile(PrincipalStylesheetModule.java:1366)
at net.sf.saxon.style.Compilation.compilePackage(Compilation.java:328)
at
net.sf.saxon.style.StylesheetModule.loadStylesheet(StylesheetModule.java:257)
at
net.sf.saxon.style.Compilation.compileSingletonPackage(Compilation.java:106)
at net.sf.saxon.s9api.XsltCompiler.compile(XsltCompiler.java:743)
at net.sf.saxon.Transform.doTransform(Transform.java:701)
at net.sf.saxon.Transform.main(Transform.java:81)
Disclaimer
The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business.
stylesheet (on any input) with saxon HE 9.8.
I am having some trouble cutting down the stylesheet to something
manageable to make a reproducible test case, but perhaps the stack trace
is enough if you know what you are looking for?
If not I will try harder tomorrow to isolate the example,
David
*** Bad parent pointer found in
element(Q{}section)[Q{data:,NAG}thislib(.)] union
element()[ends-with(name(.), "-sec")][Q{data:,NAG}thislib(.)] at 2682 ***
Exception in thread "main" java.lang.AssertionError: **** Component
reference is already bound
at
net.sf.saxon.expr.instruct.Actor.processComponentReference(Actor.java:145)
at
net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:108)
at
net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:111)
at
net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:111)
at
net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:111)
at
net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:111)
at
net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:111)
at
net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:111)
at
net.sf.saxon.expr.instruct.Actor.allocateBindingSlotsRecursive(Actor.java:111)
at net.sf.saxon.expr.instruct.Actor.allocateAllBindingSlots(Actor.java:102)
at
net.sf.saxon.style.PrincipalStylesheetModule.compile(PrincipalStylesheetModule.java:1366)
at net.sf.saxon.style.Compilation.compilePackage(Compilation.java:328)
at
net.sf.saxon.style.StylesheetModule.loadStylesheet(StylesheetModule.java:257)
at
net.sf.saxon.style.Compilation.compileSingletonPackage(Compilation.java:106)
at net.sf.saxon.s9api.XsltCompiler.compile(XsltCompiler.java:743)
at net.sf.saxon.Transform.doTransform(Transform.java:701)
at net.sf.saxon.Transform.main(Transform.java:81)
Disclaimer
The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business.