[jdom-interest] File lock after validation error
gb at opengroup.org
Fri Sep 14 09:10:18 PDT 2001
I have encountered problems with stream closing when using JDOM, I generally
put in a finally clause just in case but in theory I would have thought that
it's JDOMs responsibility since it is the one that opens the stream (or at
least from the application level it looks that way).
Either way, some indication of whose responsibility it is would help!
On Friday 14 September 2001 16:51, Alex Rosen wrote:
> Interesting point. Aside from fixing this particular problem, we should add
> an item to the TODO list to figure out and document who is responsible for
> closing any streams/readers/writers that are passed to any JDOM method.
> (i.e. does the method close them, or must the caller be sure to close
> them?) This is not documented by Xerces/SAX/JAXP, so this may involve
> determining their behavior and asking them to add similar documentation.
> To control your jdom-interest membership:
More information about the jdom-interest