Skip to content

Instantly share code, notes, and snippets.

@charlie-ablett
Last active May 5, 2016 23:56
Show Gist options
  • Save charlie-ablett/63b1b8f70a04b0074c5cb99acd35c49c to your computer and use it in GitHub Desktop.
Save charlie-ablett/63b1b8f70a04b0074c5cb99acd35c49c to your computer and use it in GitHub Desktop.
Error
XTRE0540: Ambiguous rule match for /w:document/w:body[1]/w:p[38]/w:r[1]
Matches both
"element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar)[(data(attribute::attribute(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldCharType))) = "begin"]]" on line 126 of file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/text.xsl
and "element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[(not(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab))) and (not((data(((first(preceding-sibling::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[exists(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))]))/child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))/attribute::attribute(Q{http://schemas.openxmlformat
Error
XTRE0540: Ambiguous rule match for /w:document/w:body[1]/w:p[38]/w:hyperlink[1]/w:r[3]
Matches both
"element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar)[(data(attribute::attribute(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldCharType))) = "begin"]]" on line 126 of file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/text.xsl
and "element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[(not(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab))) and (not((data(((first(preceding-sibling::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[exists(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))]))/child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))/attribute::attribute(Q{http://schema
Error
XTRE0540: Ambiguous rule match for /w:document/w:body[1]/w:p[39]/w:hyperlink[1]/w:r[3]
Matches both
"element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar)[(data(attribute::attribute(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldCharType))) = "begin"]]" on line 126 of file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/text.xsl
and "element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[(not(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab))) and (not((data(((first(preceding-sibling::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[exists(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))]))/child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))/attribute::attribute(Q{http://schema
Error
XTRE0540: Ambiguous rule match for /w:document/w:body[1]/w:p[40]/w:hyperlink[1]/w:r[3]
Matches both
"element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar)[(data(attribute::attribute(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldCharType))) = "begin"]]" on line 126 of file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/text.xsl
and "element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[(not(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab))) and (not((data(((first(preceding-sibling::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[exists(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))]))/child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))/attribute::attribute(Q{http://schema
Error
XTRE0540: Ambiguous rule match for /w:document/w:body[1]/w:p[41]/w:hyperlink[1]/w:r[3]
Matches both
"element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar)[(data(attribute::attribute(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldCharType))) = "begin"]]" on line 126 of file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/text.xsl
and "element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[(not(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab))) and (not((data(((first(preceding-sibling::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[exists(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))]))/child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))/attribute::attribute(Q{http://schema
Error
XTRE0540: Ambiguous rule match for /w:document/w:body[1]/w:p[42]/w:hyperlink[1]/w:r[3]
Matches both
"element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar)[(data(attribute::attribute(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldCharType))) = "begin"]]" on line 126 of file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/text.xsl
and "element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[(not(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab))) and (not((data(((first(preceding-sibling::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[exists(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))]))/child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))/attribute::attribute(Q{http://schema
Error
XTRE0540: Ambiguous rule match for /w:document/w:body[1]/w:p[43]/w:hyperlink[1]/w:r[3]
Matches both
"element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar)[(data(attribute::attribute(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldCharType))) = "begin"]]" on line 126 of file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/text.xsl
and "element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[(not(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab))) and (not((data(((first(preceding-sibling::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[exists(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))]))/child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))/attribute::attribute(Q{http://schema
Error
XTRE0540: Ambiguous rule match for /w:document/w:body[1]/w:p[44]/w:hyperlink[1]/w:r[3]
Matches both
"element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar)[(data(attribute::attribute(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldCharType))) = "begin"]]" on line 126 of file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/text.xsl
and "element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[(not(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab))) and (not((data(((first(preceding-sibling::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[exists(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))]))/child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))/attribute::attribute(Q{http://schema
Error
XTRE0540: Ambiguous rule match for /w:document/w:body[1]/w:p[45]/w:hyperlink[1]/w:r[3]
Matches both
"element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar)[(data(attribute::attribute(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldCharType))) = "begin"]]" on line 126 of file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/text.xsl
and "element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[(not(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab))) and (not((data(((first(preceding-sibling::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[exists(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))]))/child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))/attribute::attribute(Q{http://schema
Error
XTRE0540: Ambiguous rule match for /w:document/w:body[1]/w:p[46]/w:hyperlink[1]/w:r[3]
Matches both
"element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar)[(data(attribute::attribute(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldCharType))) = "begin"]]" on line 126 of file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/text.xsl
and "element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[(not(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab))) and (not((data(((first(preceding-sibling::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[exists(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))]))/child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))/attribute::attribute(Q{http://schema
Error
XTRE0540: Ambiguous rule match for /w:document/w:body[1]/w:p[47]/w:hyperlink[1]/w:r[3]
Matches both
"element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar)[(data(attribute::attribute(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldCharType))) = "begin"]]" on line 126 of file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/text.xsl
and "element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[(not(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab))) and (not((data(((first(preceding-sibling::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[exists(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))]))/child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))/attribute::attribute(Q{http://schema
Error
XTRE0540: Ambiguous rule match for /w:document/w:body[1]/w:p[48]/w:hyperlink[1]/w:r[3]
Matches both
"element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar)[(data(attribute::attribute(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldCharType))) = "begin"]]" on line 126 of file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/text.xsl
and "element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[(not(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab))) and (not((data(((first(preceding-sibling::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[exists(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))]))/child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))/attribute::attribute(Q{http://schema
Error
XTRE0540: Ambiguous rule match for /w:document/w:body[1]/w:p[49]/w:hyperlink[1]/w:r[3]
Matches both
"element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar)[(data(attribute::attribute(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldCharType))) = "begin"]]" on line 126 of file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/text.xsl
and "element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[(not(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab))) and (not((data(((first(preceding-sibling::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[exists(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))]))/child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))/attribute::attribute(Q{http://schema
Error
XTRE0540: Ambiguous rule match for /w:document/w:body[1]/w:p[50]/w:hyperlink[1]/w:r[3]
Matches both
"element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar)[(data(attribute::attribute(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldCharType))) = "begin"]]" on line 126 of file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/text.xsl
and "element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[(not(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab))) and (not((data(((first(preceding-sibling::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[exists(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))]))/child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))/attribute::attribute(Q{http://schema
Error
XTRE0540: Ambiguous rule match for /w:document/w:body[1]/w:p[51]/w:hyperlink[1]/w:r[3]
Matches both
"element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar)[(data(attribute::attribute(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldCharType))) = "begin"]]" on line 126 of file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/text.xsl
and "element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[(not(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab))) and (not((data(((first(preceding-sibling::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[exists(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))]))/child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))/attribute::attribute(Q{http://schema
Error
XTRE0540: Ambiguous rule match for /w:document/w:body[1]/w:p[52]/w:hyperlink[1]/w:r[3]
Matches both
"element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar)[(data(attribute::attribute(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldCharType))) = "begin"]]" on line 126 of file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/text.xsl
and "element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[(not(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab))) and (not((data(((first(preceding-sibling::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[exists(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))]))/child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))/attribute::attribute(Q{http://schema
Error
XTRE0540: Ambiguous rule match for /w:document/w:body[1]/w:p[53]/w:hyperlink[1]/w:r[3]
Matches both
"element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar)[(data(attribute::attribute(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldCharType))) = "begin"]]" on line 126 of file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/text.xsl
and "element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[(not(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab))) and (not((data(((first(preceding-sibling::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[exists(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))]))/child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))/attribute::attribute(Q{http://schema
Error
XTRE0540: Ambiguous rule match for /w:document/w:body[1]/w:p[54]/w:hyperlink[1]/w:r[3]
Matches both
"element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar)[(data(attribute::attribute(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldCharType))) = "begin"]]" on line 126 of file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/text.xsl
and "element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[(not(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab))) and (not((data(((first(preceding-sibling::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}r)[exists(child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))]))/child::element(Q{http://schemas.openxmlformats.org/wordprocessingml/2006/main}fldChar))/attribute::attribute(Q{http://schema
java.lang.RuntimeException: Internal error evaluating template rule at line 199 in module file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/docx2html.xsl
at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:402)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:456)
at net.sf.saxon.trans.TextOnlyCopyRuleSet.process(TextOnlyCopyRuleSet.java:65)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:433)
at net.sf.saxon.trans.TextOnlyCopyRuleSet.process(TextOnlyCopyRuleSet.java:65)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:433)
at net.sf.saxon.Controller.transformDocument(Controller.java:2270)
at net.sf.saxon.Controller.transform(Controller.java:1847)
at net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(Xslt30Transformer.java:553)
at net.sf.saxon.Transform.processFile(Transform.java:1222)
at net.sf.saxon.Transform.doTransform(Transform.java:778)
at net.sf.saxon.Transform.main(Transform.java:77)
Caused by: java.lang.ArrayIndexOutOfBoundsException: -999
at net.sf.saxon.value.Closure.saveContext(Closure.java:121)
at net.sf.saxon.value.Closure.make(Closure.java:97)
at net.sf.saxon.expr.parser.ExpressionTool.evaluate(ExpressionTool.java:280)
at net.sf.saxon.expr.parser.ExpressionTool.lazyEvaluate(ExpressionTool.java:418)
at net.sf.saxon.expr.FunctionCall.evaluateArguments(FunctionCall.java:558)
at net.sf.saxon.expr.FunctionCall.iterate(FunctionCall.java:544)
at net.sf.saxon.expr.Expression.evaluateItem(Expression.java:754)
at net.sf.saxon.expr.ValueComparison.effectiveBooleanValue(ValueComparison.java:684)
at net.sf.saxon.expr.AndExpression.effectiveBooleanValue(AndExpression.java:144)
at net.sf.saxon.pattern.PatternWithPredicate.matchesPredicate(PatternWithPredicate.java:140)
at net.sf.saxon.pattern.PatternWithPredicate.matches(PatternWithPredicate.java:132)
at net.sf.saxon.pattern.PatternThatSetsCurrent.matches(PatternThatSetsCurrent.java:120)
at net.sf.saxon.trans.Rule.matches(Rule.java:243)
at net.sf.saxon.trans.SimpleMode.ruleMatches(SimpleMode.java:638)
at net.sf.saxon.trans.SimpleMode.searchRuleChain(SimpleMode.java:598)
at net.sf.saxon.trans.SimpleMode.getRule(SimpleMode.java:465)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:426)
at net.sf.saxon.expr.instruct.ApplyTemplates.apply(ApplyTemplates.java:296)
at net.sf.saxon.expr.instruct.ApplyTemplates.process(ApplyTemplates.java:249)
at net.sf.saxon.expr.instruct.ForEach.processLeavingTail(ForEach.java:450)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:654)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:149)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:364)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:311)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:654)
at net.sf.saxon.expr.instruct.NamedTemplate.expand(NamedTemplate.java:283)
at net.sf.saxon.expr.instruct.CallTemplate$CallTemplatePackage.processLeavingTail(CallTemplate.java:510)
at net.sf.saxon.expr.instruct.CallTemplate.process(CallTemplate.java:356)
at net.sf.saxon.expr.instruct.ForEach.processLeavingTail(ForEach.java:450)
at net.sf.saxon.expr.instruct.Choose.processLeavingTail(Choose.java:833)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:654)
at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:708)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:654)
at net.sf.saxon.expr.instruct.NamedTemplate.expand(NamedTemplate.java:283)
at net.sf.saxon.expr.instruct.CallTemplate.process(CallTemplate.java:354)
at net.sf.saxon.expr.instruct.ForEach.processLeavingTail(ForEach.java:450)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:149)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:364)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:311)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:654)
at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:708)
at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:389)
... 11 more
Fatal error during transformation: java.lang.RuntimeException: Internal error evaluating template rule at line 199 in module file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/docx2html.xsl
java.lang.RuntimeException: Internal error evaluating template rule at line 199 in module file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/docx2html.xsl
at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:402)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:456)
at net.sf.saxon.trans.TextOnlyCopyRuleSet.process(TextOnlyCopyRuleSet.java:65)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:433)
at net.sf.saxon.trans.TextOnlyCopyRuleSet.process(TextOnlyCopyRuleSet.java:65)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:433)
at net.sf.saxon.Controller.transformDocument(Controller.java:2270)
at net.sf.saxon.Controller.transform(Controller.java:1847)
at net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(Xslt30Transformer.java:553)
at net.sf.saxon.Transform.processFile(Transform.java:1222)
at net.sf.saxon.Transform.doTransform(Transform.java:778)
at net.sf.saxon.Transform.main(Transform.java:77)
Caused by: java.lang.ArrayIndexOutOfBoundsException: -999
at net.sf.saxon.value.Closure.saveContext(Closure.java:121)
at net.sf.saxon.value.Closure.make(Closure.java:97)
at net.sf.saxon.expr.parser.ExpressionTool.evaluate(ExpressionTool.java:280)
at net.sf.saxon.expr.parser.ExpressionTool.lazyEvaluate(ExpressionTool.java:418)
at net.sf.saxon.expr.FunctionCall.evaluateArguments(FunctionCall.java:558)
at net.sf.saxon.expr.FunctionCall.iterate(FunctionCall.java:544)
at net.sf.saxon.expr.Expression.evaluateItem(Expression.java:754)
at net.sf.saxon.expr.ValueComparison.effectiveBooleanValue(ValueComparison.java:684)
at net.sf.saxon.expr.AndExpression.effectiveBooleanValue(AndExpression.java:144)
at net.sf.saxon.pattern.PatternWithPredicate.matchesPredicate(PatternWithPredicate.java:140)
at net.sf.saxon.pattern.PatternWithPredicate.matches(PatternWithPredicate.java:132)
at net.sf.saxon.pattern.PatternThatSetsCurrent.matches(PatternThatSetsCurrent.java:120)
at net.sf.saxon.trans.Rule.matches(Rule.java:243)
at net.sf.saxon.trans.SimpleMode.ruleMatches(SimpleMode.java:638)
at net.sf.saxon.trans.SimpleMode.searchRuleChain(SimpleMode.java:598)
at net.sf.saxon.trans.SimpleMode.getRule(SimpleMode.java:465)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:426)
at net.sf.saxon.expr.instruct.ApplyTemplates.apply(ApplyTemplates.java:296)
at net.sf.saxon.expr.instruct.ApplyTemplates.process(ApplyTemplates.java:249)
at net.sf.saxon.expr.instruct.ForEach.processLeavingTail(ForEach.java:450)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:654)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:149)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:364)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:311)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:654)
at net.sf.saxon.expr.instruct.NamedTemplate.expand(NamedTemplate.java:283)
at net.sf.saxon.expr.instruct.CallTemplate$CallTemplatePackage.processLeavingTail(CallTemplate.java:510)
at net.sf.saxon.expr.instruct.CallTemplate.process(CallTemplate.java:356)
at net.sf.saxon.expr.instruct.ForEach.processLeavingTail(ForEach.java:450)
at net.sf.saxon.expr.instruct.Choose.processLeavingTail(Choose.java:833)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:654)
at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:708)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:654)
at net.sf.saxon.expr.instruct.NamedTemplate.expand(NamedTemplate.java:283)
at net.sf.saxon.expr.instruct.CallTemplate.process(CallTemplate.java:354)
at net.sf.saxon.expr.instruct.ForEach.processLeavingTail(ForEach.java:450)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:149)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:364)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:311)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:654)
at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:708)
at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:389)
... 11 more
Fatal error during transformation: java.lang.RuntimeException: Internal error evaluating template rule at line 199 in module file:/home/user/project/app/logic/conversion/step_logic/docx_to_html/docx2html.xs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment