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?

thanks,
--mc



_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to