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=7104>. 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=7104 Preferences will fail ------- Additional Comments From [EMAIL PROTECTED] 2002-04-29 14:12 ------- Well, I did a stupid thing. I have two different cases now. 1. I just downloaded the xalan 2.3.1 and used the testcase (that I attach soon) to reproduce the previously described behaviour by including the included xercesImpl.jar in the classpath. 2. I just downloaded the xerces 2.0.1 and included the xercesImpl.jar in the classpath while using the testcase resulting in the following exception: java.util.prefs.BackingStoreException: java.lang.ClassCastException: org.apache.xerces.dom.DeferredCommentImpl at java.util.prefs.FileSystemPreferences$11.run(FileSystemPreferences.java:538) at java.security.AccessController.doPrivileged(Native Method) at java.util.prefs.FileSystemPreferences.loadCache(FileSystemPreferences.java:517) at java.util.prefs.FileSystemPreferences.syncSpiPrivileged(FileSystemPreferences.java:724) at java.util.prefs.FileSystemPreferences.access$2300(FileSystemPreferences.java:33) at java.util.prefs.FileSystemPreferences$17.run(FileSystemPreferences.java:705) at java.security.AccessController.doPrivileged(Native Method) at java.util.prefs.FileSystemPreferences.syncSpi(FileSystemPreferences.java:703) at java.util.prefs.AbstractPreferences.sync2(AbstractPreferences.java:1312) at java.util.prefs.AbstractPreferences.sync(AbstractPreferences.java:1303) at java.util.prefs.FileSystemPreferences.sync(FileSystemPreferences.java:682) at java.util.prefs.FileSystemPreferences.flush(FileSystemPreferences.java:756) at Test.main(Test.java:9) Caused by: java.lang.ClassCastException: org.apache.xerces.dom.DeferredCommentImpl at java.util.prefs.XmlSupport.importMap(XmlSupport.java:318) at java.util.prefs.FileSystemPreferences$11.run(FileSystemPreferences.java:524) ... 12 more Well, maybe it's a bug in Sun's FileSystemPreferences (which are used under Linux), I don't know very much about DTDs at all. But I'm wondering why everything works with the 1.4.4 version of xerces/using no additional jars. Regards, Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
