<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<P>Is a possible solution to use another parser (which one?) with JDOM.
<BR>Can I just plug in another and go ?
<BR>Would I need to remove Xerces from my classpath?
<BR>Does JDOM look for Xerces by default ?
<P>Sorry for any inane questions , I am a (relatively) newbie Java developer
but keen to learn!
<P>Brett McLaughlin wrote:
<BR>Oh, yeah.... Xerces 1.1.x changed from java.net.URL (allowing files
<BR>look like c:\foo\bar.xml) to a custom class (requiring files to look
<BR>like <A HREF="file:///c:/foo/bar.xml">file:///c:/foo/bar.xml</A>).
<P>Hmmm... and I guess SAX 2 wasn't fully implemented in Xerces 1.0.3,
<BR>which is why you get the JDOM error. That's actually sort of sticky...
<BR>post to Cocoon-users and see what is the status on getting up to the
<BR>newer Xerces (it should just be a file link change), or if there is
<BR>CVS version that supports it. Citing SAX 2 support as a requirement
<P>JDOM might work with Xerces 1.0.3, though, so you could also try that...
<BR><A HREF="http://www.enhydra.org"></A> </BLOCKQUOTE>