Hi,
Thank you very much. Actually I cannot find my Xerces.class file. I ran the script build.sh with all option and also with jars option. The script ran successfully both times. The README says that it will compile the code. SO does not it mean that I will have all the class files ? I still do not have the Xerces.class. Do I have to compile it individually ? I actually tried doign that also, but It didnt work as it cannot find DOMParser class which is in org/apache/..../Parsers.
I am asking this question because does it mean that soemhow my script build.sh is not compiling the samples properly ? Or do I have to concentrate on setting my class path correctly.
Thank you very much . Fatima.
From: "K. Venugopal" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: dom.Counter (parser doesnt instantiates) Date: Thu, 26 Jun 2003 11:59:34 +0530
Fatima Ashfaq wrote:
Hi,
I am a beginner. I am trying to run the samples in the samples/dom directory.
I am trying to run the Counter.java example. I compiled it using javac and now when i issue the command
java dom.Counter file:/xerces-2_4_0/data/personal-schema.xml
no matter which file i give it as input , it gives me the following error.
"error: Unable to instantiate parser (dom.wrappers.Xerces)"
Its seems you don't have Xerces.class . Compile your samples properly , use build.sh script provided by xerces .I also suggest you to use classpath or bootclasspath option to point to the location of your class files.
No other example is working either.
Can someone kindly suggest what I am doign wrong . Secondly, is the input to the exaples an xml file or a file in some other format ?
provided the location of the file as /xerces-2_4_0/data/personal-schema.xml
In general read instructions provided in http://xml.apache.org/xerces2-j/install.html document .
Regards, venu
Thank you very much. Regards, Fatima.
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
