RE: Problem with XML Validation

2003-05-07 Thread shirishchandra.sakhare
7;[EMAIL PROTECTED]' Subject: RE: Problem with XML Validation >From the www.w3.org site, you might creating a simple xsd, and then use the "include" element for example: http://www.example.com/schemas/address.xsd"/> According to the site, "The one important

RE: Problem with XML Validation

2003-05-07 Thread Rahul Srivastava
Hi Vamsi, > Vamsi Atluri wrote... > > Hi, > > (I posed this on xerces-j-users list, but didn't get any reply yet). I am > using Xerces 2.4.0 for parsing XML files and validating the XML > against the schema file. I created an entity resolver class which loads > the XSD file from the local

RE: Problem with XML Validation

2003-05-06 Thread O'Keeffe, Michael
I am using also does not have a targetNameSpace defined, and this works. -Original Message- From: Vamsi Atluri [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 06, 2003 1:07 PM To: [EMAIL PROTECTED] Subject: RE: Problem with XML Validation Hi Shirsh, Thanks for the reply. But the problem is that the

RE: Problem with XML Validation

2003-05-06 Thread Shital Joshi
3 2:07 PM To: [EMAIL PROTECTED] Subject: RE: Problem with XML Validation Hi Shirsh, Thanks for the reply. But the problem is that the XSD is from an external entity and they don't have any targetNameSpace defined in their XSD file. In other words, it's not an value I can set/modify. To me, t

RE: Problem with XML Validation

2003-05-06 Thread Vamsi Atluri
quot;;, > true); > parser.parse(fileToValidate); > > HTH. > > regards, > Shirish > > > > > > -Original Message- > From: Vamsi Atluri [mailto:[EMAIL PROTECTED] > Sent

RE: Problem with XML Validation

2003-05-06 Thread Benson Cheng
er(xsdFile)); is.setSystemId(systemId); return is; } -Original Message- From: Vamsi Atluri [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 06, 2003 7:26 AM To: [EMAIL PROTECTED] Subject: Problem with XML Validation Hi, I am using Xerces 2.4.0 for parsing XML files and validating the XML a

RE: Problem with XML Validation

2003-05-06 Thread shirishchandra.sakhare
pache.org/xml/features/validation/schema/normalized-value";, true); parser.parse(fileToValidate); HTH. regards, Shirish -Original Message- From: Vamsi Atluri [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 06, 20

Problem with XML Validation

2003-05-06 Thread Vamsi Atluri
Hi, I am using Xerces 2.4.0 for parsing XML files and validating the XML against the schema file. I created an entity resolver class which loads the XSD file from the local disk and returns it as an InputStream. I am setting this entity resolver on the parser in this way: DOMParser parser = new o