W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2001

Re: Validaton of xml file against xsd file

From: Jeni Tennison <jeni@jenitennison.com>
Date: Wed, 12 Dec 2001 19:04:03 +0000
Message-ID: <12011646406.20011212190403@jenitennison.com>
To: Karuna Kumar P <karunak@yahoo.com>
CC: xmlschema-dev@w3.org
Hi Karuna,

> I am getting this error while I am validating one
> personnel-schema.xml file against related personnel.xsd
> file(examples given in the xerces's data folder)
>
> I didn't change any thing in the files. I just ran the
> follwoing command
>
> java sax.SAXCount -v personal-schema.xml

It looks as though it's trying to validate against a (non-existant)
DTD rather than against the schema. Try using SAX2Count instead?

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/
Received on Wednesday, 12 December 2001 14:04:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:25 GMT