SAX2: Should SAXException extend IOException?

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


twleung at sauria.com 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

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

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





More information about the Xml-dev mailing list