<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
&nbsp;
<P>Brett McLaughlin wrote:
<BLOCKQUOTE TYPE=CITE>Remove xerces_1_0_3 - Cocoon should work fine with
the xerces.jar that
<BR>comes with JDOM.
<P>-Brett
<BR><A HREF="http://www.enhydra.org"></A>&nbsp;</BLOCKQUOTE>
Brett,
<P>Tried that already - Cocoon does'nt seem to like xerces.jar from JDOM.
<BR>Cocoon throws :
<P>org.xml.sax.SAXParseException: File "[My Filename]" not found.
<BR>&nbsp;at org.apache.cocoon.parser.AbstractParser.fatalError(AbstractParser.java:105)
<BR>&nbsp;at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:998)
<BR>&nbsp;at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.java:499)
<BR>&nbsp;at org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:303)
<BR>&nbsp;at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:860)
<BR>&nbsp;at org.apache.cocoon.parser.XercesParser.parse(XercesParser.java:84)
<BR>&nbsp;at org.apache.cocoon.parser.AbstractParser.parse(AbstractParser.java:83)
<BR>&nbsp;at org.apache.cocoon.producer.ProducerFromFile.getDocument(ProducerFromFile.java:78)
<BR>&nbsp;at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
<BR>&nbsp;at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
<BR>&nbsp;at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
<BR>&nbsp;at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
<BR>&nbsp;at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
<BR>&nbsp;at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
<BR>&nbsp;at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
<BR>&nbsp;at java.lang.Thread.run(Thread.java:479)
<BR>&nbsp;
<P>However using Xerces_1_0_3 it finds my xml file no problem
<P>Any ideas? Can I force Cocoon to use the JDom Xerces or vice versa?
<P>Adam
<BR>&nbsp;</HTML>