OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] SAX Exception Handling

[ 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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS