[XML-SIG] The Zen of DOM

Robin Becker robin@jessikat.demon.co.uk
Thu, 6 Apr 2000 19:13:23 +0100

In article <14572.51450.776809.616110@seahag.cnri.reston.va.us>, Fred L.
Drake, Jr. <fdrake@acm.org> writes
>Robin Becker writes:
> > I assume that the events are ordered even though they may be
> > asynchronous; how are errors reported in this model ie as soon as
> > possible or are the error events also randomly delayed? 
>  The events are ordered, including errors.  The (potential)
>asynchrony comes in that the engine doesn't need to know or care that
>that handling of the event is complete before proceeding.  For all it
>cares, each event could be run in a separate thread, allowing event
>handling to overlap.  This is all an issue for the handler.
>(Normally, there's just one thread involved in parsing & handling, so
>there's nothing to worry about.)
>  -Fred
Yes I guessed so, I expect these modern parsers are aimed at streamed
languages. These are just my old semantic actions with more difficult
error context handling.
Robin Becker