SAX: External Entity Start and End (question 2 of 10)

Sean Mc Grath digitome at iol.ie
Sat Jan 3 16:23:12 GMT 1998


>
>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




xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list