DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18458>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18458 Using an InputStream with "getAssociatedStylesheet()" causes IOException ------- Additional Comments From [EMAIL PROTECTED] 2003-06-06 03:58 ------- I would expect that if a method does not open an InputStream for reading, it should not close the InputStream. Strictly speaking, only the opener should be concerned with closing a stream. In other words, the responsibility of closing a stream should remain with the entity that opened the stream in the first place. The usability issue arises out of the above presumption. And since JAXP does not enforce a particular implementation, I think that bug is in the implementation - not in JAXP. If you feel that an open Stream should be closed by any entity other than the one that opened it, can you show me an example why you believe this should be allowed? The error reporting should definitely improve in any case.
