Hi there,<br><br>I am trying to convert a set of DITA XML files to PDF using XEP (4.10). The process fails with this error:<br><br><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java] Exception in thread &quot;main&quot; 
java.lang.InternalError: fillbuf</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.InputEntity.parsedContent(InputEntity.java


:545)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.content(Parser2.java:1826)</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">


&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.maybeElement


(Parser2.java:1507)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">


&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.maybeElement


(Parser2.java:1507)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">


&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.maybeElement


(Parser2.java:1507)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">


&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.maybeElement


(Parser2.java:1507)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">


&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.maybeElement


(Parser2.java:1507)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">


&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.maybeElement


(Parser2.java:1507)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">


&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.maybeElement


(Parser2.java:1507)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">


&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at com.renderx.xep.FormatterCore.render


(Unknown Source)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at com.renderx.xep.FormatterImpl.render(Unknown Source)</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at com.renderx.xep.FormatterImpl.render(Unknown Source)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">


&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at com.idiominc.ws.opentopic.fo.xep.Runner.run(Runner.java:64)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java]&nbsp;&nbsp;&nbsp;&nbsp; at com.idiominc.ws.opentopic.fo.xep.Runner.main


(Runner.java:31)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; [java] Java Result: 1</span><br><br>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.<br><br>Googling turned up a couple of bug reports for Crimson that seem to be related to this:
<br><br><div style="margin-left: 40px;"><a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4766061" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4766061
</a><br><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=5089" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://issues.apache.org/bugzilla/show_bug.cgi?id=5089</a><br></div><br>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 &quot;latest&quot; version of Crimson available for download from Apache (dating from 2001) does not contain the patch.
<br><br>Any ideas? Do I need to recompile Crimson myself with the patch included?<br><br>Thanks in advance,<br><span class="sg">-- <br>Martin Polley<br>Technical Communicator<br>+972 52 3864280<br>&lt;<a href="http://capcloud.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://capcloud.com/
</a>&gt;</span><br>