[Home] [By Thread] [By Date] [Recent Entries]
IBM's XML for Java has an interface called StreamProducer that is very similar to your SAXEntityResolver. If you look at the new version Kent Tamura released last Friday, you'll notice that he also added the closeStream(InputStream) method to the StreamProducer interface. While this seems strange at first, when I recompiled my code implementing the new method, I realized why this was necessary: InputStream.close() throws an exception and this is a simple way of adding a means to catch, and deal with, the error. Perhaps SAX should have something similar. Maybe I thinking in terms that are too Java dependant, but the idea makes sense to me. Andrew n marshall student - artist - programmer http://www.media-electronica.com/anm-bin/anm "Everyone a mentor, Everyone a pupil" xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|

Cart



