That sounds even better, Thanks.

On Mon, Aug 4, 2008 at 7:00 AM, Boris Kolpackov <[EMAIL PROTECTED]>wrote:

> Hi David,
>
> David Bertoni <[EMAIL PROTECTED]> writes:
>
> > The easiest way to handle this situation is to install an EntityResolver
> > and have it return an empty entity when the parser requests the system
> > ID of the DTD.  For example, you can create a new MemBufInputSource that
> > points to an empty string.
>
> I think an even easier way would be to call setLoadExternalDTD(false).
>
> Boris
>
>
> --
> Boris Kolpackov, Code Synthesis Tools
> http://codesynthesis.com/~boris/blog<http://codesynthesis.com/%7Eboris/blog>
> Open source XML data binding for C++:
> http://codesynthesis.com/products/xsd
> Mobile/embedded 
> <http://codesynthesis.com/products/xsdMobile/embedded>validating XML parsing:
> http://codesynthesis.com/products/xsde
>

Reply via email to