[jdom-interest] Crimson bug
jhunter at acm.org
Fri Sep 7 15:16:08 PDT 2001
Elliotte Rusty Harold wrote:
> The following legal though strange document is choking Crimson, though
> Xerces gets it right:
> <?xml-stylesheet href="text/css" href="stylesheet.css?>
> The specific errors are:
> org.jdom.JDOMException: Error on line 1 of document
> file:/D:/xml/XINCLUDE/test.xml: Expected "version=...".
I've reported it to the Crimson tech lead.
> Is there a way t0 tell the builder I want to use Xerces instead? And
> perhaps we should switch the default parser to Xerces until Crimson gets
> this right?
If xerces.jar is in your classpath and crimson.jar isn't, then xerces
should be the selected parser. Crimson is the JAXP-default, so it's
chosen if you have jaxp.jar and crimson.jar in your classpath. This
should be explained in lib/README.
More information about the jdom-interest