[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: SAX Exception Handling
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|