Is anyone having trouble with the DOM3 implementation in Xerces 2.6.2 (using either the standard release, or the beta API release)? Specifically, this line of code:

System.setProperty (DOMImplementationRegistry.PROPERTY,"org.apache.xerces.dom.DOMXSImplemen tationSourceImpl");

--causes this error:

java.lang.ClassCastException: org.apache.xerces.dom.DOMXSImplementationSourceImpl at org.w3c.dom.bootstrap.DOMImplementationRegistry.newInstance (DOMImplementationRegistry.java:144)
        at javaxml3.LSTester.main(LSTester.java:26)

I'm happy to chase this down in the source code if I need to, but I'd rather at least see if someone else has figured this out first. The code, of course compiles fine, but then bombs on execution. This happens with my own code, or using the dom.DOM3 sample class unchanged from the Xerces distro. Any help or comments appreciated. Since this -- the DOMImplementationRegistry -- is a pretty core part of DOM Level 3, I would expect this to be a pretty significant issue.


Thanks
---
Brett McLaughlin          <brett-at-newInstance.com>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to