Elena Litani wrote:
> IMO, the change should go into PrologDispatcher and we can use same idea
> you are proposing: call setInputSource(null) on the DTD scanner and
> modify setInputSource so that in a case XMLInputSource is null, it
> should send *dummy* start/endDTD calls (see attached diffs). That way
> the entity manager won't barf..

Seems fine. I was suggesting that an empty XMLInputSource
would be passed to the setInputSource method but a null
value would work just as well.

> +            fDTDHandler.startDTD(null, null);

Just make sure that the Javadoc for this XNI method states
that the first parameter can be null.

-- 
Andy Clark * [EMAIL PROTECTED]


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

Reply via email to