RE: [xml-dev] Simple Schema

From
KRUMPOLEC Martin <>
To
Date
2002-02-11T12:55:01Z
ID
<5C9461BDD6ABD511815500D0B7B7A0E2247F87@nt_2.asset-internal>
Thread
RE: [xml-dev] Simple Schema
Hi,

> Even then(after changing from minOccur to minOccurs), it is failing.
> Initially i was using minOccurs only.

  Your fixed schema works correctly with xerces sample sax.Counter :

D:\Utils\java\xerces>java -cp
xmlParserAPIs.jar;xercesImpl.jar;xercesSamples.jar
 sax.Counter -n -v -s -f xmlsch.xml
xmlsch.xml: 540 ms (4 elems, 1 attrs, 0 spaces, 45 chars)

  so it seems you have problems with parser initialization.
  Please consult aforementioned example and if problem persists
  try asking on xerces-user mailing list ...

HTH

Martin

-- 
Martin Krumpolec <>