RE: Xerces gives General Schema Error | Works with Oracle Parser

2008-02-03 Thread Barun Kumar Yadav
cvc-elt.1: Cannot find the declaration of element 'xyz'.) Thanks Barun -Original Message- From: Mukul Gandhi [mailto:[EMAIL PROTECTED] Sent: Sunday, February 03, 2008 3:12 AM To: j-users@xerces.apache.org Subject: Re: Xerces gives General Schema Error | Works with Oracle Parser S

Re: Xerces gives General Schema Error | Works with Oracle Parser

2008-02-03 Thread Mukul Gandhi
So, you do are using the latest Xerces version. That's good. Coming back to your original query. The error message you get is: General Schema Error: Schema in file:/D:/CPNI/Installs/bea/user_projects/w4WP_workspaces/Untitled/Phase2/resources/config/schema/EDD/jms/Public/test.xsd has a different t

RE: Xerces gives General Schema Error | Works with Oracle Parser

2008-02-02 Thread Barun Kumar Yadav
The Xerces version is 2.9.1 -Original Message- From: Mukul Gandhi [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 11:21 AM To: j-users@xerces.apache.org Subject: Re: Xerces gives General Schema Error | Works with Oracle Parser You should be able to find the Xerces JAR in the

Re: Xerces gives General Schema Error | Works with Oracle Parser

2008-02-01 Thread Mukul Gandhi
You should be able to find the Xerces JAR in the Eclipse installation folder. Please put that JAR in the system CLASSPATH and see what version it gives you. Or just have the location of Xerces JAR in Eclipse in CLASSPATH. You should also check on Window's command prompt, echo %CLASSPATH% that the

RE: Xerces gives General Schema Error | Works with Oracle Parser

2008-02-01 Thread Barun Kumar Yadav
Kumar Yadav [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 8:28 AM To: j-users@xerces.apache.org Subject: RE: Xerces gives General Schema Error | Works with Oracle Parser I am running the program thru Eclipse, How do I findwhat is the Xerces version used by the code. Thanks Barun

RE: Xerces gives General Schema Error | Works with Oracle Parser

2008-02-01 Thread Barun Kumar Yadav
Error | Works with Oracle Parser As Prashant said, I was not asking you to tell us the property of a specific JAR file on the disk. I want you to determine the Xerces version which JVM is loading, which can be done as below. C:\Documents and Settings\gandhimu>java org.apache.xerces.impl.Vers

Re: Xerces gives General Schema Error | Works with Oracle Parser

2008-01-31 Thread Mukul Gandhi
As Prashant said, I was not asking you to tell us the property of a specific JAR file on the disk. I want you to determine the Xerces version which JVM is loading, which can be done as below. C:\Documents and Settings\gandhimu>java org.apache.xerces.impl.Version Xerces-J 2.9.1 (the 2nd line is th

RE: Xerces gives General Schema Error | Works with Oracle Parser

2008-01-31 Thread Prashant Reddy
Any other reason what could be wrong. > > Thanks > Barun > > > > > -Original Message- > From: Mukul Gandhi [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 31, 2008 10:44 PM > To: j-users@xerces.apache.org > Subject: Re: Xerces gives General Schema Er

RE: Xerces gives General Schema Error | Works with Oracle Parser

2008-01-31 Thread Barun Kumar Yadav
://xerces.apache.org/xerces2-j/ I am using JDK 1.5. Any other reason what could be wrong. Thanks Barun -Original Message- From: Mukul Gandhi [mailto:[EMAIL PROTECTED] Sent: Thursday, January 31, 2008 10:44 PM To: j-users@xerces.apache.org Subject: Re: Xerces gives General Schema Error | Works

Re: Xerces gives General Schema Error | Works with Oracle Parser

2008-01-31 Thread Mukul Gandhi
Hi Barun, Please check the Xerces version using the command: java org.apache.xerces.impl.Version Which JDK version are you using? I suspect, your JDK is an old one, causing you to use the Xerces available within JDK and not the latest one from Apache. On Feb 1, 2008 7:38 AM, Barun Kumar Yad

RE: Xerces gives General Schema Error | Works with Oracle Parser

2008-01-31 Thread Barun Kumar Yadav
I downloaded the latest version of Xerces that I suppose is 2.9.1 Thanks Barun -Original Message- From: Michael Glavassevich [mailto:[EMAIL PROTECTED] Sent: Thursday, January 31, 2008 8:40 PM To: j-users@xerces.apache.org Subject: Re: Xerces gives General Schema Error | Works with

Re: Xerces gives General Schema Error | Works with Oracle Parser

2008-01-31 Thread Michael Glavassevich
Barun, Have you tried the latest version of Xerces? The stack trace you've posted shows that you're probably using Xerces 1.4.4 or something more ancient. Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] "Barun Kumar Yadav"

RE: Xerces gives General Schema Error | Works with Oracle Parser

2008-01-31 Thread Barun Kumar Yadav
XException"); e.printStackTrace(); }catch (IOException e) { System.out.println("This is IOException"); e.printStackTrace(); } return document; } From: Barun Kumar Yadav [mailto:[EMAIL PROTECTED] Sent: Thursday, Jan

Xerces gives General Schema Error | Works with Oracle Parser

2008-01-31 Thread Barun Kumar Yadav
> Hi All, > > I am trying to moving from Oracle parse to Xerces Parser. > > Using the same XSD and XML if I run the code with Oracle Parser it > does not give me any error, but when I try it with Xerces it gives me > General Schem Error. The error trace is below > > General Schema Error: Schem