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=26138>. 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=26138 [PATCH] [i18n] Updated XMLResourceBundel, XMLResourceBundleFactory to detect changes in underlying file and reload it Summary: [PATCH] [i18n] Updated XMLResourceBundel, XMLResourceBundleFactory to detect changes in underlying file and reload it Product: Cocoon 2 Version: Current CVS 2.1 Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Currently an XMLResourceBundle is not refreshed once read from file. With this patch, the file will be loaded if the bundle is invalid with respect to the file. The factory is responsible to ask the bundle to update itself before it hands a bundle from the it's cache. In XMLResourceBundle, made the load method actually load the file if it decides that the bundle is invalid with respect to the file. In XMLResourceBundle, changed the selctCached method to ask the bundle to update itself by calling a new update method on XMLReousceBundle , which will call load and warn on any exceptions.
