ClassCastException: org.apache.xerces.dom.DOMImplementationSourceImpl
at org.w3c.dom.bootstrap.DOMImplementationRegistry.newInstance(
DOMImplementationRegistry.java:144)
i.e. at
DOMImplementationSource source =
(DOMImplementationSource) sourceClass.newInstance();The code, taken from the example, is
DOMImplementationRegistry registry = null;
System.setProperty(DOMImplementationRegistry.PROPERTY,
"org.apache.xerces.dom.DOMImplementationSourceImpl");
try {
registry = DOMImplementationRegistry.newInstance();
} catch (Exception e) {
throw new RuntimeException(e);
}Any idea what I'm doing wrong?
Peter
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
