Ben Peter wrote:
>
> Hi all,
>
> I am working with crimson as packaged with the JAXP-1.1 distribution.
>
> Even though I set it to non-validating and set it to not resolve external
> references, crimson will try to access a DTD that is referenced in an XML
> file and throw an exception if it cannot. This is attached below.
>
> The scenario in which I am stuck is rather simple: I am trying to parse an
> ejb-jar.xml and a weblogic-ejb-jar.xml file on my laptop while offline ;-) I
> know that I could keep the DTDs locally on my machine, but that would not be
> very useful, as I would have to have the DTD reference point to my local
> filesystem. Also, it should be possible to tell crimson to leave the DTD
> alone, or am I getting anything wrong?
I just added this to my JAXP FAQ, see the following link which might
help...
http://xml.apache.org/~edwingo/jaxp-faq.html#EntityResolver
---------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]