Re: [xml] getting failed validation output?
- From: Daniel Veillard <veillard redhat com>
- To: Martin Cole <mjc sci utah edu>
- Cc: xml gnome org
- Subject: Re: [xml] getting failed validation output?
- Date: Fri, 10 Feb 2006 12:12:00 -0500
On Fri, Feb 10, 2006 at 09:36:23AM -0700, Martin Cole wrote:
Hi,
I use the following interface to validate against the dtd.
/* parse the file, activating the DTD validation option */
doc = xmlCtxtReadFile(ctxt, filename, 0, (XML_PARSE_DTDATTR |
XML_PARSE_DTDVALID);
This works great, but I would like to be able to capture the output when
validation fails. Currently the useful error messages output to the
shell I ran from. I could not find interface for giving this a buffer,
am I just missing it?
see
http://xmlsoft.org/html/libxml-xmlerror.html
Daniel
--
Daniel Veillard | Red Hat http://redhat.com/
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]