Re: Question about vallidating packages

Hi,
Those who are using xerces-c parsers. In the ../samples/data you will find
files personal-schema.xml and personal.xsd.
Rename the two file to some other names and in the .xml file change the name of
schema file xsi:noNamespaceSchemaLocation='xyz.xsd'
Now run the SAX2Count -v=always for your new xml file. Parser will not be able
to validate your document against the schema doc.
I don't know what stops it from doing that. Instead if you use the original
file names it works. I am unbale to find a reason for that.
Can someone help me there or is it a problem with the parser itself?

Thanks
Prakash

Martin Gudgin wrote:

> You might like to check out Xerces 1.4.0 over at
> http://xml.apache.org/xerces-j/index.html
>
> Martin
>
> ----- Original Message -----
> From: "Roman Rytov" <roman@davinci.co.il>
> To: <xmlschema-dev@w3.org>
> Sent: Thursday, May 31, 2001 4:44 PM
> Subject: Question about vallidating packages
>
> > Which API (library, packages etc.) are available for using XML document
> > validating process against XML Schema in Java or C++? I mean not process
> of
> > validating XML Schema it self but an instance of XML document according to
> > certain XML Schema.
> >

--

Prakash Reddy Bande
email Prakash.Bande@sdrc.com
Ext.124,Ph.+91-2139-33666
Structural Dynamics Research Corporation
Product Groups - India

Received on Friday, 15 June 2001 05:32:11 UTC