Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java thread: Xerces - java.lang.IllegalArgumentException - not of type org.w3c.dom.Document


Message #1 by borgcc@y... on Sat, 12 Jan 2002 17:20:09
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

  Return to Index