[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK-APPS: Xalan is stealing my sleep
First of all - this posting contains a lot of error-messages. Sorry for that, but it's the only way I can sketch out my problem. For a while I've been thinking that it had to be our customizations that broke Xalan 2, but now I give up: I install a pure, untouched version of - Xalan 2 java - Norms XSL style sheets v1.29 - The DocBook XML DTD v4.1.2 The Xalan tests all run without problems. When I try the tests that come with Norms style sheets the trouble begins. (I should mention that chunking is the problem - producing one big document goes smoothly). First error is: DOM ERROR! class: org.apache.xalan.templates.ElemExtensionCall file:///home/claus/docbook/xsl/1.29-untouched/docbook/html/chunk.xsl; Line 17; Column 58; XSLT Error (javax.xml.transform.TransformerConfigurationException): Failed calling setPrefix method! Closer inspection of chunk.xsl shows a workaround for Xalan 1. I comment this out and try again: file:///home/claus/docbook/xsl/1.29-untouched/docbook/html/chunk-common.xsl; Line 657; Column 16; Writing ch01s02.html f or sect1 javax.xml.transform.TransformerException at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j ava:1212) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2894) at java.lang.Thread.run(Thread.java:484) --------- java.lang.ArrayIndexOutOfBoundsException at org.apache.xml.utils.BoolStack.pop(BoolStack.java:134) at org.apache.xalan.serialize.SerializerToHTML.endElement(SerializerToHTML.java :631) at org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler. java:284) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java: 749) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform erImpl.java:2154) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform erImpl.java:2097) at org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:380) at org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:20 2) ...and some 20-30 lines more of java errors. Now this is exactly what happens with my customized style sheet also - I just wanted to test it with ...the tests. Am I insane? Is my Java insane? What am I doing wrong ? Anyone helping out will go to bed tonight knowing that he/she pulled a desperate guy back from the edge... Thanks, Claus
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC