[xep-support] XEP fails with Crimson error

Martin Polley martin.polley at gmail.com
Wed Aug 22 00:11:01 PDT 2007


Hi there,

I am trying to convert a set of DITA XML files to PDF using XEP (4.10). The
process fails with this error:

     [java] Exception in thread "main" java.lang.InternalError: fillbuf
     [java]     at org.apache.crimson.parser.InputEntity.parsedContent(
InputEntity.java :545)
     [java]     at org.apache.crimson.parser.Parser2.content(Parser2.java
:1826)
     [java]     at org.apache.crimson.parser.Parser2.maybeElement(
Parser2.java:1507)
     [java]     at org.apache.crimson.parser.Parser2.content(Parser2.java
:1779)
     [java]     at org.apache.crimson.parser.Parser2.maybeElement (
Parser2.java:1507)
     [java]     at org.apache.crimson.parser.Parser2.content(Parser2.java
:1779)
     [java]     at org.apache.crimson.parser.Parser2.maybeElement(
Parser2.java:1507)
     [java]     at org.apache.crimson.parser.Parser2.content(Parser2.java
:1779)
     [java]     at org.apache.crimson.parser.Parser2.maybeElement (
Parser2.java:1507)
     [java]     at org.apache.crimson.parser.Parser2.content(Parser2.java
:1779)
     [java]     at org.apache.crimson.parser.Parser2.maybeElement(
Parser2.java:1507)
     [java]     at org.apache.crimson.parser.Parser2.content(Parser2.java
:1779)
     [java]     at org.apache.crimson.parser.Parser2.maybeElement (
Parser2.java:1507)
     [java]     at org.apache.crimson.parser.Parser2.content(Parser2.java
:1779)
     [java]     at org.apache.crimson.parser.Parser2.maybeElement(
Parser2.java:1507)
     [java]     at org.apache.crimson.parser.Parser2.content(Parser2.java
:1779)
     [java]     at org.apache.crimson.parser.Parser2.maybeElement (
Parser2.java:1507)
     [java]     at org.apache.crimson.parser.Parser2.content(Parser2.java
:1779)
     [java]     at org.apache.crimson.parser.Parser2.maybeElement(
Parser2.java:1507)
     [java]     at org.apache.crimson.parser.Parser2.content(Parser2.java
:1779)
     [java]     at org.apache.crimson.parser.Parser2.maybeElement (
Parser2.java:1507)
     [java]     at org.apache.crimson.parser.Parser2.content(Parser2.java
:1779)
     [java]     at org.apache.crimson.parser.Parser2.maybeElement(
Parser2.java:1507)
     [java]     at org.apache.crimson.parser.Parser2.content(Parser2.java
:1779)
     [java]     at org.apache.crimson.parser.Parser2.maybeElement (
Parser2.java:1507)
     [java]     at org.apache.crimson.parser.Parser2.content(Parser2.java
:1779)
     [java]     at org.apache.crimson.parser.Parser2.maybeElement(
Parser2.java:1507)
     [java]     at org.apache.crimson.parser.Parser2.content(Parser2.java
:1779)
     [java]     at org.apache.crimson.parser.Parser2.maybeElement (
Parser2.java:1507)
     [java]     at org.apache.crimson.parser.Parser2.parseInternal(
Parser2.java:500)
     [java]     at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
     [java]     at org.apache.crimson.parser.XMLReaderImpl.parse(
XMLReaderImpl.java:442)
     [java]     at com.renderx.xep.FormatterCore.render (Unknown Source)
     [java]     at com.renderx.xep.FormatterImpl.render(Unknown Source)
     [java]     at com.renderx.xep.FormatterImpl.render(Unknown Source)
     [java]     at com.idiominc.ws.opentopic.fo.xep.Runner.run(Runner.java
:64)
     [java]     at com.idiominc.ws.opentopic.fo.xep.Runner.main (Runner.java
:31)
     [java] Java Result: 1

This problems occurs with all the versions of Java 1.5+ that I have tried it
with. And it only happens under Linux. Under Windows, no such error occurs.
And it does not happen with all my sets of XML files. When I try it with a
smaller set of files, I do not get the error.

Googling turned up a couple of bug reports for Crimson that seem to be
related to this:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4766061
http://issues.apache.org/bugzilla/show_bug.cgi?id=5089

Am I correct in assuming that the version of Crimson included with XEP does
not include the patch that appears in the comments to the bug in the Apache
Bugzilla? The "latest" version of Crimson available for download from Apache
(dating from 2001) does not contain the patch.

Any ideas? Do I need to recompile Crimson myself with the patch included?

Thanks in advance,
-- 
Martin Polley
Technical Communicator
+972 52 3864280
<http://capcloud.com/ >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20070822/d212828b/attachment.html>


More information about the Xep-support mailing list