|
Thanks very much for your patch, Rich.
I've got no objection to this change in principle. Clearly the correct place to There is a potential issue with the provided patch, which is that the InputSource is = new InputSource(urlConnection.getInputStream()); And there should also be a comment in the code explaining why this simple task I don't have much time to analyse this patch properly just at the moment; I'll I've applied a slightly modified version of this patch. See r325861, r325866.
I'd like to leave this open as I think the xmlrules module probably has a few Besides 1.5 (the documented "Affected Version"), this issue is also present in version 1.6 and 1.7. It bit me when I was using the Digester.register() method to register copies of DTDs internal to the JAR file. This would cause an I/O stream or something to remain open on the DTD, which (in turn) would cause the jar file to remain locked after a webapp undeploy on Windows.
Happily, the patched version works fine for this scenario (tested with the 20061111 nightly build), so I guess it's time to get back in the digester game and help get a 1.8 release out the door Hi Craig, welcome back. There is currently work going on to prepare Digester for a 1.8 release; finishing maven2 support is the major TODO. Hopefully a release can be made in the next couple of weeks.
There is a recent email thread in the dev archives talking about release stuff. Of course all help is welcome! |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Repro case
I had to remove a few JARs from WEB-INF/lib for the attachment to be accepted
– I ran it again and it still seems to work.