Hi Alexei,<br><br>Michael Bradbury already answered me a few days ago. I answered him but forgot to CC the list. Sorry.<br><br>In the end, I <span style="font-style: italic;">did</span> patch Crimson, and it <span style="font-style: italic;">
did</span> solve the problem. So you can draw whatever conclusions you like from that :)<br><br>I'm sure your solution would do the trick too, but now everything works for me already, so I am happy.<br><br>Thanks,<br>
<br>-- <br>Martin Polley<br>Technical Communicator<br>+972 52 3864280<br><<a href="http://capcloud.com/">http://capcloud.com/</a>>
<br><br><br><div><span class="gmail_quote">On 8/25/07, <b class="gmail_sendername">Alexei Gagarinov</b> <<a href="mailto:agagarinov@renderx.com">agagarinov@renderx.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Martin,<br><br>> I am trying to convert a set of DITA XML files to PDF using XEP<br>> (4.10). The process fails with this error:<br>> ...<br>> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java
:442)<br>> ...<br><br>It means that Crimson is the default XML parser in your Java<br>environment.<br><br>The most probably this is not the crimson.jar from XEP distribution.<br>In order to make sure for that, please remove any occurrences of
<br>crimson.jar from the script you are using for launching XEP.<br><br>If the removing of crimson.jar does not help, it means that "another"<br>Crimson is used in your environment.<br><br>Some applications may explicitly set
<br>javax.xml.parsers.SAXParserFactory property. It could<br>be done by adding an appropriate record to the system properties or by<br>creating a special '.properties' file in jre/lib/ subdirectory.<br><br>Another possible way is
crimson.jar in the JVM bootstrap classpath.<br>But Java 1.5 (unlike Java 1.4) does not have Crimson as a part of the<br>package.<br><br>> Am I correct in assuming that the version of Crimson included with<br>> XEP does not include the patch that appears in the comments to the
<br>> bug in the Apache Bugzilla?<br><br>You are correct.<br>But it is not Crimson shipped with XEP that cause the problem.<br><br>> Any ideas?<br><br>You may find out the used crimson.jar and replace it.<br>But neither "finding out", nor "replacing" is an easy task.
<br><br>The simplest way to resolve the problem is to tell Java to use a<br>specific XML Reader.<br><br>Add the following property to the XEP execution command:<br><br>-Djavax.xml.parsers.SAXParserFactory=com.icl.saxon.aelfred.SAXParserFactoryImpl
<br><br>It will force usage of Saxon Aelfred XML parser.<br><br>Best regards,<br> Alexei Gagarinov<br>RenderX<br>---<br><a href="http://www.renderx.net">www.renderx.net</a><br><br><br><br><br>-------------------<br>(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
<br>in the body of the message to <a href="mailto:majordomo@renderx.com">majordomo@renderx.com</a> from the address<br>you are subscribed from.<br>(*) By using the Service, you expressly agree to these Terms of Service <a href="http://www.renderx.com/terms-of-service.html">
http://www.renderx.com/terms-of-service.html</a><br></blockquote></div><br>