[Home] [By Thread] [By Date] [Recent Entries]

  • To: xml-dev@l...
  • Subject: RE: Simple Schema
  • From: KRUMPOLEC Martin <krumpolec@a...>
  • Date: Mon, 11 Feb 2002 13:55:01 +0100
  • Return-receipt-to: KRUMPOLEC Martin <krumpolec@a...>

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 <krumpo@p...>

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member