From traversw@innoforge.co.za Sun Sep 10 11:39:16 2000 Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 16433 invoked from network); 10 Sep 2000 11:39:16 -0000 Received: from zsd-gw.innoforge.co.za (HELO prod1.cpt.innoforge.co.za) (196.25.198.96) by locus.apache.org with SMTP; 10 Sep 2000 11:39:16 -0000 Received: from travers (travers.cpt.innoforge.co.za [192.168.1.21]) by prod1.cpt.innoforge.co.za (8.9.3/8.8.7) with SMTP id NAA26417 for ; Sun, 10 Sep 2000 13:48:09 +0200 Message-ID: <00d601c01b1c$323b1160$1501a8c0@travers> From: "Travers Waker" To: Subject: Is Xerces 1.2.0 for java actually using schemas to validate? Date: Sun, 10 Sep 2000 13:42:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I recently downloaded Xerces 1.2.0 for java and ran the sample program "DOMCount" on the sample data personal-schema.xml. This works fine, and I assumed it was validating the peronal-schema.xml using personal.xsd. However, when I edit the schema (personl.xsd) and change something like the minimum number of occurrances of the element to a value that should cause personal-schema.xml to fail validation (for example, setting it to 200, since there are only 6 elements in personal-schema.xml), DOMCount just continues operating as normal. It seems that the schema is not being used for validation. Can anybody point out where I am going wrong? Any help is much appreciated. Travers Waker