Lists Home |
Date Index |
Martin Soukup writes:
> > Using an exception to terminate parsing falls into the latter category
> > unless, as I mentioned, you have an application that processes
> > thousands of XML documents every minute.
> Absolutely agree. Just that my application happens to do that :)
Excellent. You have a very specialized application, then, and if the
extra overhead of one exception per document is an unacceptable
performance hit, SAX might not be the right interface for you.
Is it some kind of indexing engine, or are you reading live datafeeds?
All the best,
David Megginson, email@example.com, http://www.megginson.com/