|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: The subsetting has begun
John Cowan writes: > 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. Quite right. Exceptions in C++ can be deeply evil, but in Java, they're a natural part of the language and a good measure of how comfortable a programmer is working in it. All the best, David -- David Megginson, david@m..., http://www.megginson.com/
|
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
|
|||||||||

Cart








