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] The subsetting has begun

[ Lists Home | Date Index | Thread Index ]

Karl Waclawek scripsit:

> I agree. It would be nice, however, if SAX for instance allowed
> an application to stop parsing (based on an event) without 
> having to throw an exception.

What's wrong with exceptions?  This kind of thing, abandoning an action,
is what they were made for.  If one of your SAX handlers decides that
there is no point in reading further, create an AllDoneException packaged
inside a SAXException, and away we go.

John Cowan           http://www.ccil.org/~cowan              cowan@ccil.org
To say that Bilbo's breath was taken away is no description at all.  There
are no words left to express his staggerment, since Men changed the language
that they learned of elves in the days when all the world was wonderful.
        --_The Hobbit_


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

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