DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=38562>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38562 ------- Additional Comments From [EMAIL PROTECTED] 2006-02-08 05:19 ------- Created an attachment (id=17620) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17620&action=view) Fixes broken XCatalog support This patch provides the following... 1. "xcatalog.dtd" from the Xerces1 distribution 2. Fixes to XCatalogReader.java such as adding a default constructor allowing for instantiation via reflection and support for the properly cased elements defined by the DTD 3. Changed non-default constructor in XCatalog.java to also take a Catalog. Added the same to OASISXMLCatalogReader.java. This allows for direct instantiation of both of these catalogs and makes sure that they are "good citizens" at creation. This avoids users forgetting to call setCatalog() leading to a NullPointerException when th catalog doesn't exist. Also synched up these to readers where applicable 4. Added "xcatalog.dtd" support to the BootstrapResolver. 5. Modified Catalog and Resolver to reference the root element for XCatalogs as "XCatalog", not "XMLCatalog". 6. Modified SAXCatalogReader.java to normalize get/setCatlogParser methods to treat nulls and empty strings the same way as well as provide just one "key" strategy for the map. Also added a setClassLoader() method so that user-defined readers in a child classloader can be instantiated by the resolver in a parent classloader. Otherwise, it would be a guaranteed ClassNotFoundException in, for instance, a J2EE environment. There are other cases of Class.forName(String), but I left those alone. Didn't want to tread on too much code. 7. Updated "resolver.xml" Ant build file to set debug, optimize, and deprecation to true on <javac> as well as index to true on <jar> Jake -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
