Lists Home |
Date Index |
- From: "Andrew n marshall" <firstname.lastname@example.org>
- To: "Xml-Dev List" <email@example.com>
- 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
"Everyone a mentor, Everyone a pupil"
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)