[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: c/c++ validation libraries?


validate date c
On Thursday 22 September 2005 13:43, Graham Bennett wrote:
> Hi all,
>
> In my application I get an incoming stream of XML data which I would
> like to validate.  The API I am dealing with provides no validation
> functionality itself, so I would like to find some way of wrapping it
> with my own layer of validation.
>
> Naturally I don't want to write my own w3c schema or relaxng validator,
> so I was wondering if there were any libraries that expose the ability
> to do validation but are not tied to a particular parser.  Obvious
> options are to create a DOM and use something like Xerces to validate
> that, or even to serialise to text and parse that with a validating
> parser, but both of these are very inefficient.  Ideally I would like to
> be able to hook in at the SAX level and generate the SAX events for the
> library to validate.  It may be possible to hook into something like
> Xerces to do this.
>
> Has anyone come across any c or c++ projects that would offer such
> functionality?  It would also be interesting to know what options are
> available on other platforms.

For an open source XPath 2.0 implementation I write, I have an implementation 
of the W3C XML Schema Datatypes. You only need to submit a patch for the 
first part and you got yourself a schema stack ;-)


		Frans

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.