W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2002

validation problem with xerces 2

From: Igor Novak <igor.novak@uni-mb.si>
Date: Thu, 28 Feb 2002 10:31:23 -0500 (EST)
To: xmlschema-dev@w3.org
Message-id: <LCENJHOPGIIIHAGIDEBIMEEFCAAA.igor.novak@uni-mb.si>

I'm using SDK 1.4 rc and xerces to validate an XML document,
but every thing works fine with Xerces 1.4.4 but in Xerces 2.0.0 I get

I'm using sample sax.Counter (or dom.Counter) that comes
with Xerces 2.0 and I try to validate XML document with that sample.

java -classpath
sax.Counter -v ...\xerces-2_0_0\data\personal-schema.xml

with classpath I override SDK 1.4 Crimson parser (it really overrides it)
and in data directory is personal.xsd so everythig should be fine but it's
not, I get error:

[Error] personal-schema.xml:3:98: Document root element "personnel", must
DOCTYPE root "null".
[Error] personal-schema.xml:3:98: Document is invalid: no grammar found.

I also tried other XML documents and Shemas but the errors are the same. But
if I try the same example with Xerces 1.4.4 everything is fine!!??

Help, help !


Igor Novak
Received on Thursday, 28 February 2002 12:30:26 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:55 UTC