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=18153>. 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=18153 DTD validation errors leave XML file locked [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From [EMAIL PROTECTED] 2003-12-02 00:10 ------- I wrote the attached test program but I couldn't reproduce the problem. Given the way the code is written today, it's hard to imagine that Xerces leaves some streams open when a parse completes or aborts. Perhaps the problem was fixed accidentally since the bug was filed? If you believe this problem still exists, please report the detailed instruction to reproduce the problem. Also, you can work around the problem by writing a simple wrapper around a parser and by keeping track of all the streams you passed to the parser. The wrapper can register its own EntityResolver so that you can find all the streams the parser opened (such as DTDs refered from your document.) Then it should be fairly easy to close the streams yourself by using a try...finally block. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
