pro_java thread: Xerces - java.lang.IllegalArgumentException - not of type org.w3c.dom.Document
Hi,
When I run my code in VisualAge for Java 3.5 using Xerces parser 1.4.2,
I'm getting the following exception:
java.lang.IllegalArgumentException: PAR002 Class,
"org.apache.xerces.dom.DocumentImpl", is not of type org.w3c.dom.Document.
org.apache.xerces.dom.DocumentImpl
I've tried running the same code on a Unix box with the same Xerces.jar
and it works fine.
Any idea on what I might be doing wrong?
Thanks,
Paul