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
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
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
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
quot;;,
> true);
> parser.parse(fileToValidate);
>
> HTH.
>
> regards,
> Shirish
>
>
>
>
>
> -Original Message-
> From: Vamsi Atluri [mailto:[EMAIL PROTECTED]
> Sent
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
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
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