[Saxdotnet-devel] Requiring EndDocument
Brought to you by:
jeffrafter,
kwaclaw
From: Jeff R. <li...@je...> - 2004-12-07 19:35:17
|
This is actually something that is already in place and only affects implementations, but we need to clarify when we require EndDocument to be called. This is the proposal: (a) EndDocument is required if StartDocument is called (b) Even when there is a FatalError (c) In the event of an encoding error, StartDocument should have been called so EndDocument still needs to be called. (d) If there is an external exception (such as an IOExcpetion or a user generated SaxExcpetion in a callback) EndDocument is still required. (e) EndDocument should be the final event in a SAX event stream. Comments welcome, Jeff Rafter |