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:

> Hate to bother you again, but I'd really like to find this
> samples/validator.pl file you mentioned. 
> 
> It's not in the 2.3.0-4 source tarball; it's not in the windows
> binary zip file; it's not in the cvs that I can see. 
>
> I've looked around in case it wasn't in the samples directory, but
> didn't see it anywhere.  Did you maybe not get it into cvs? 

Hi, sorry - Xerces-P has switched from using the CVS repository to
using the apache Subversion repository at:

  http://svn.apache.org/repos/asf/xml/xerces-p/trunk/

so you can grab the validators.pl file at:

  http://svn.apache.org/repos/asf/xml/xerces-p/trunk/samples/validator.pl

The CVS code is old and out-of-date. I'll update the WWW site soon to
indicate this.

Sorry about it not making into the 2.3.0 tarball - I forgot to include
it in the MANIFEST file and because of that Perl didn't pack it when I
ran 'make dist'.

Cheers,
jas.
  

> -----Original Message-----
> From: Jason E. Stewart [mailto:[email protected]] 
> Sent: Wednesday, December 03, 2003 10:31 PM
> To: [email protected]
> Cc: Forrest Cahoon
> Subject: Re: Schema validation: getting all the errors
> 
> "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&msgNoS66) 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.