OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Simple Schema

[ Lists Home | Date Index | Thread Index ]
  • To: xml-dev@lists.xml.org
  • Subject: RE: [xml-dev] Simple Schema
  • From: KRUMPOLEC Martin <krumpolec@asset.sk>
  • Date: Mon, 11 Feb 2002 13:55:01 +0100
  • Return-receipt-to: KRUMPOLEC Martin <krumpolec@asset.sk>

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@pobox.sk>




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS