Re: [xml] libxml + sax + schema validation
- From: Daniel Veillard <veillard redhat com>
- To: Jovan Kostovski <chombium gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] libxml + sax + schema validation
- Date: Tue, 6 Feb 2007 10:31:55 -0500
On Tue, Feb 06, 2007 at 03:33:57PM +0100, Jovan Kostovski wrote:
Hi,
I need to write a sax xml parser that will
validate the contents against a xml schema file.
Writing a sax parser wasn't to hard, but I have no
clue how to implement the schema validation.
Can anyone help me?
Links to some examples would be great
there is an API to push a schemas validation context on top of
a SAX event, see xmlSchemaValidateStream() use in testSAX() in xmllint.c
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]