[
Lists Home |
Date Index |
Thread Index
]
> Is there a standard way of informing all
> members of an XMLFilter chain that some
> member has thrown an Exception allowing
> all members to cleanup?
>
> Given a chain of XMLFilters, some of which may
> perform transactional operations:
>
> a--->b--->c--->d--->e
>
> If filter "c" throws an Exception, it
> will propagate back up the parent chain to
> "b" and "a" however, "d" and "e" would
> be unaware of the problem and not have an
> opportunity to rollback.
Some SAX parsers guarantee that EndDocument
will always be called. There was a thread
about that very issue recently on this list.
Karl
|