SAX2: Should SAXException extend IOException?

David Megginson david at
Wed Dec 29 02:35:37 GMT 1999

twleung at writes:

 > What about a SAX driver that spits out events by walking a DOM?  
 > If the DOM was created programatically, it doesn't really seem like an
 > IOException is the right thing to throw.

Well, you can get an IO exception by reading a character stream from a 
String, for example, which is a closely parallel example; that said,
I'm still considering how radically different SAX2 should be.

All the best,


David Megginson                 david at

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list