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
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde

Reply via email to