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
The information in the Manifest shows you have the right jar on the disc. But do you have the same jar when you launch your JVM ? Please see : http://xerces.apache.org/xerces2-j/faq-general.html#faq-1 With the same classpath as your process execute cmd 'java org.apache.xerces.impl.Version' The

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

2008-01-31 Thread Barun Kumar Yadav
This is the information from the Manifest file from the JAR Name: org/apache/xerces/impl/Version.class Comment: Xerces-J 2.9.1 Implementation-Title: org.apache.xerces.impl.Version Implementation-Version: 2.9.1 Implementation-Vendor: Apache Software Foundation Implementation-URL: http://xerces.apac

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 Orac

RE: Problem parsing attribute with character 7F

2008-01-31 Thread Michael Glavassevich
If you're generating an XML 1.1 document you don't have much choice. If you want to include 0x7F you need to use a character reference. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] wrote on 01/25/2008 06:55:05 PM

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
This is the Java method performing this operation public Document generateXercesDOM(String xmlMessage, URL xsdURL) throws URISyntaxException { Document document = null; DOMParser parser = new DOMParser(); try { parser.setFeature("http://xml.org/sax/features/validation",true); parser.s

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