Re: validation problem with xerces 2

Try adding -s.  This will invoke
parser.setFeature(SCHEMA_VALIDATION_FEATURE_ID, schemaValidation) where
SCHEMA_VALIDATION_FEATURE_ID =
http://apache.org/xml/features/validation/schema 
schemaValidation = true

java -classpath
"...\xercesImpl.jar;...\xercesSamples.jar;...\xmlParserAPIs.jar;."
sax.Counter -v -s ...\xerces-2_0_0\data\personal-schema.xml

Received on Friday, 24 May 2002 05:07:34 UTC