Re: Schema validation: getting all the errors

[email protected] (Jason E. Stewart)
Newsgroups gmane.text.xml.xerces-p.devel
Message-ID <[email protected]>
"Forrest Cahoon" <[email protected]> writes:

> I've got XML::Xerces 2.3.0-2 from the ppm available at
> xml.apache.org and I'm using to validate documents against an
> external schema.

Good! You should really thank Martin for providing the PPM - it's the
first time that we've had a reliable use of Xerces on Windows.

> This program exits at the first schema error, though, and I want to
> get a report of all the errors.  I found a post to the xerces-c list
> which suggests that reporting all the errors is the default
> (http://nagoya.apache.org/eyebrowse/ReadMsg?listId=81&msgNo=5366) so
> it seems like there's at least hope I could get this behavior.
>
> I would be very happy if anyone could offer advice on how I might
> get this to work.

If you look at the samples/validator.pl example you will see how to do
this. 

Cheers,
jas.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.