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 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Validating XML using Ada schema module Date: Thu, 07 May 2015 17:47:35 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx02.eternal-september.org; posting-host="1d9954c1724cfc8838c424c9c295bd19"; logging-data="30217"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18A1u5N/2GGLme3obihcMGqgofTrqHfd1w=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:xmpqhtLxL6XLTYZtlk1FDUTzhZo= sha1:+dhTERRv7pzLkhDtxYg7/SJbMJs= Xref: news.eternal-september.org comp.lang.ada:25758 Date: 2015-05-07T17:47:35+01:00 List-Id: Björn Lundin writes: > On 2015-05-07 17:53, Sonia Dalal wrote: > >>I was getting raised CONSTRAINT_ERROR : schema-validators.adb:2166 > > I think you need to post your code. > Try to make a small compilable sample that reproduces your error > and post is here. Also, neither of the versions of XML/Ada that I have to hand has code at that line which looks as though it could raise that exception at that line. Which version are you using?