Re: SAX: External Entity Start and End (question 2 of 10)
Sean Mc Grath (digitome@iol.ie)
Sat, 3 Jan 1998 16:22:50 GMT
>
>Should SAX generate events for the start and end of an external
>entity?
>
> public void startEntity (String ename, String systemID);
> public void endEntity (String ename);
>
>
[...]
>
>We could simplify things further for most users if the XmlAppBase
>class implemented final versions of these handlers and maintained its
>own entity stack, providing an additional getCurrentEntity() query
>method (not part of the interface).
This sounds good to me. Entity info available for those who want
it but not explicitly announced in the callbacks.
Sean Mc Grath
sean at digitome dot com