From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.140.232.88 with SMTP id d85mr6702211qhc.0.1431014001584; Thu, 07 May 2015 08:53:21 -0700 (PDT) X-Received: by 10.50.43.170 with SMTP id x10mr369128igl.4.1431014001522; Thu, 07 May 2015 08:53:21 -0700 (PDT) Path: border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!z60no5881692qgd.0!news-out.google.com!n7ni27158igk.0!nntp.google.com!l13no15209048iga.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 7 May 2015 08:53:20 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=116.74.6.89; posting-account=l8G6hgoAAADjKtWjPGHyywkx7knGLmuP NNTP-Posting-Host: 116.74.6.89 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Validating XML using Ada schema module From: Sonia Dalal Injection-Date: Thu, 07 May 2015 15:53:21 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: number.nntp.giganews.com comp.lang.ada:193062 Date: 2015-05-07T08:53:20-07:00 List-Id: Hi all I am new to ada. I am working on a project where I am parsing XML for data.= I am trying to validate the XML received (I am receiving XML from third pa= rty) using the schema module. Following is the sample schema which I took f= rom w3c site after I was getting raised CONSTRAINT_ERROR : schema-validator= s.adb:2166 invalid data for my own schema but I am getting same error for t= his schema. Changing the version and scheam tag to=20 =20 does not make any difference. I tried looking into schema-validators.adb bu= t that was of no use. Please help.