Hi Jason. don't pull your hair :>
First of all what version of Java API for XML processing are you using?
Did you check where your JAVA_HOME is pointing too?
Did you copy the parser.jar file to your jre directory?
if JAVA_HOME is set, look at $JAVA_HOME/jre/lib/ext directory look for the parser.jar. (The JAVA_HOME directory is the one that contains bin/java.) This eliminates the need to modify class paths. but it has the problem that your will pick up the parser.jar file even if not
in you classpath.
Good luck,
Jeffrey RodriguezFrom: Jason Rizer <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Slightly O/T - Loading parser files Date: Wed, 11 Apr 2001 17:33:21 -0700 (PDT)
Hello,
First of all, I apologize because I realize that this post is slightly off topic, but I'm pulling my hair out and I figured it couldn't hurt too much :) I've recently modified our application to work with the com.sun xml parser implementation as well as the xerces implementation. I read a property file at runtime to determine which of the two to use. The problem I'm having is that the Sun VM is behaving as if parser.jar is always on my classpath even when its not. This is killing me with respect to using the xerces implementation because it loads the Document interface from parser.jar everytime. The version of Document in parser.jar is only Dom Level 1 compliant so I get runtime errors when I try to use certain methods, eg, importNode( ). I've removed any reference to parser.jar from my classpath as well as renaming both copies on my system to parser.jarjar. I've restarted my PC about 6 times, but still the stuff is loaded when I run my program. This only happens when I use the java vm, everything works fine if I use the MS VM. Anyone have any thoughts about where these classes could be coming from? Thanks in advance!
-Jason
__________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
