ah! thats good,

but then, what do you mean with "i havbe removed some internal checks - so
this code is note compilable."?

          regards, Valentin.

-----Original Message-----
From: Gottfried Szing [mailto:[EMAIL PROTECTED]
Sent: 16 April 2002 15:48
To: [EMAIL PROTECTED]
Subject: RE: Avoid network access fetching the DTD


On Tue, 2002-04-16 at 16:26, Valentin Ruano wrote:
> Hi everyone
>
> First of all, Gottfried, Thanks a lot for you help.
>
> So I understand that your solution requires change xerces/crimson code a
> bit...

not really, because its enough to set the entity resolver in the parser.
e.g.


===== code snippet
        XMLReader parser = XMLReaderFactory.createXMLReader();


        // set the handler
        XMLErrorHandler handler = new XMLErrorHandler();

        parser.setErrorHandler(handler);
        parser.setEntityResolver(new ESIEntityResolver());
===== code snippet

so this solution does not require to change the code of xerces.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to