W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2009

Re: XSD Validator Question

From: Boris Kolpackov <boris@codesynthesis.com>
Date: Thu, 16 Apr 2009 09:00:18 +0200
To: "Tsao, Scott" <scott.tsao@boeing.com>
Cc: xmlschema-dev@w3.org
Message-ID: <boris.20090416085556@codesynthesis.com>
Hi Scott,

Tsao, Scott <scott.tsao@boeing.com> writes:

> A colleague is looking for an XSD validator which will provide a list or 
> table of all the validation errors found in validating an XML file, rather
> than reporting only the first error like what XMLSpy will do.

You can grab a pre-compiled binary of Xerces-C++ for your platform (or
install one from your distribution's repository, if you are on GNU/Linux):

http://xerces.apache.org/xerces-c/download.cgi

The package includes a number of examples that can be used to validate
XML documents. For instance, SAXCount will give you a list of errors in
a document or the count of elements and attributes if there are none.

Boris

-- 
Boris Kolpackov, Code Synthesis Tools   http://codesynthesis.com/~boris/blog
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde
Received on Thursday, 16 April 2009 07:06:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:11 GMT