[
Lists Home |
Date Index |
Thread Index
]
- From: "Andrew n marshall" <amarshal@usc.edu>
- To: "Xml-Dev List" <xml-dev@ic.ac.uk>
- Date: Mon, 20 Apr 1998 07:51:52 -0700
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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|