-
Bug
-
Resolution: Not an Issue
-
P3
-
6
-
x86
-
windows_xp
J2SE Version (please include all output from java -version flag):
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b56)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b56, mixed mode, sharing)
Does this problem occur on J2SE 1.4.x or 5.0.x ? No
and this problem does NOT occur on 1.6.0-ea-b55
New problem on 1.6.0-ea-b56.
Operating System Configuration Information (be specific):
WindowsXP on both Intel-586 and AMD64
Hardware Configuration Information (be specific):
NOT depand on any hardware configurations
Bug Description:
Exception in thread "main" java.lang.ClassCastException: com.sun.org.apache.xerces.internal.parsers.
XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfigurati
on
Steps to Reproduce (be specific):
(1) set Apach Xercess library( xercesImpl.jar, xmlParserAPIs.jar )
onto D:\jdk1.6.0\jre\lib\ext directory
I use the following files :
D:\jdk1.6.0\jre\lib\ext
2004/09/16 09:31 895,924 xercesImpl.jar
2004/09/16 09:31 123,705 xmlParserAPIs.jar
(2) run this class DomTest
//-------------- DomTest.java ------------------
import org.apache.xerces.parsers.*;
import org.w3c.dom.*;
import org.xml.sax.*;
public class DomTest {
public static void main( String[] args ){
DOMParser parser = new DOMParser();
}
}
//---------------------------------------------
(3) I get this message :
D:\>\jdk1.6.0\bin\java DomTest
Exception in thread "main" java.lang.ClassCastException: com.sun.org.apache.xerces.internal.parsers.
XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfigurati
on
at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
at DomTest.main(DomTest.java:7)
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b56)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b56, mixed mode, sharing)
Does this problem occur on J2SE 1.4.x or 5.0.x ? No
and this problem does NOT occur on 1.6.0-ea-b55
New problem on 1.6.0-ea-b56.
Operating System Configuration Information (be specific):
WindowsXP on both Intel-586 and AMD64
Hardware Configuration Information (be specific):
NOT depand on any hardware configurations
Bug Description:
Exception in thread "main" java.lang.ClassCastException: com.sun.org.apache.xerces.internal.parsers.
XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfigurati
on
Steps to Reproduce (be specific):
(1) set Apach Xercess library( xercesImpl.jar, xmlParserAPIs.jar )
onto D:\jdk1.6.0\jre\lib\ext directory
I use the following files :
D:\jdk1.6.0\jre\lib\ext
2004/09/16 09:31 895,924 xercesImpl.jar
2004/09/16 09:31 123,705 xmlParserAPIs.jar
(2) run this class DomTest
//-------------- DomTest.java ------------------
import org.apache.xerces.parsers.*;
import org.w3c.dom.*;
import org.xml.sax.*;
public class DomTest {
public static void main( String[] args ){
DOMParser parser = new DOMParser();
}
}
//---------------------------------------------
(3) I get this message :
D:\>\jdk1.6.0\bin\java DomTest
Exception in thread "main" java.lang.ClassCastException: com.sun.org.apache.xerces.internal.parsers.
XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfigurati
on
at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
at DomTest.main(DomTest.java:7)