AssertionError: Unknown value representation
Added by Anonymous over 19 years ago
Legacy ID: #3175045 Legacy Poster: DD (ddevienne)
I'm converting another 1.0 stylesheet to 2.0/saxon8.4. The first time I run the transformation, I get this assertion error with no indication of where the problem is in the stylesheet or source document. I guess I'll have to start back up with a simpler stylesheet and see when it starts breaking. I can provide source and stylesheet if necessary. Thanks, --DD java.lang.AssertionError: Unknown value representation at net.sf.saxon.value.Value.getIterator(Value.java:206) at net.sf.saxon.expr.VariableReference.iterate(VariableReference.java:19 5) at net.sf.saxon.instruct.CopyOf.processLeavingTail(CopyOf.java:90) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:330) at net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:229) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:330) at net.sf.saxon.instruct.Instruction.process(Instruction.java:87) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreato r.java:155) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:330) at net.sf.saxon.instruct.Template.expand(Template.java:98) at net.sf.saxon.instruct.CallTemplate$CallTemplatePackage.processLeaving Tail(CallTemplate.java:353) at net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.ja va:276) at net.sf.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:175) at net.sf.saxon.instruct.ApplyTemplates.processLeavingTail(ApplyTemplate s.java:139) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:330) at net.sf.saxon.instruct.Instruction.process(Instruction.java:87) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreato r.java:155) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:330) at net.sf.saxon.instruct.Instruction.process(Instruction.java:87) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreato r.java:155) at net.sf.saxon.instruct.Template.expand(Template.java:98) at net.sf.saxon.instruct.Template.processLeavingTail(Template.java:82) at net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.ja va:298) at net.sf.saxon.instruct.ApplyTemplates.defaultAction(ApplyTemplates.jav a:331) at net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.ja va:289) at net.sf.saxon.Controller.transformDocument(Controller.java:1367) at net.sf.saxon.Controller.transform(Controller.java:1195) at org.apache.tools.ant.taskdefs.optional.TraXLiaison.transform(TraXLiai son.java:135)
Replies (1)
RE: AssertionError: Unknown value representat - Added by Anonymous over 19 years ago
Legacy ID: #3175141 Legacy Poster: Michael Kay (mhkay)
Judging by what's on the stack, it looks as if you've run into this bug: http://sourceforge.net/tracker/index.php?func=detail&aid=1180851&group_id=29872&atid=397617 If you don't feel like applying the source fix, you could probably circumvent it by declaring and referencing a dummy parameter on the template rule that contains the call-template call, e.g by starting it <xsl:param name="dummy" select="()"/> <xsl:value-of select="$dummy"/> Michael Kay
Please register to reply