Re: [xml] Catching error messages in schematron



On Thu, Jul 19, 2007 at 08:03:24PM +0200, Stefan Behnel wrote:
Hi,

currently (as of libxml2 2.6.29), the schematron implementation writes
validation error messages to stderr with a plain fprintf in
xmlSchematronReportOutput (happily annotated with a "TODO").

However, to make schematron usable in lxml, I need a way to propagate these
errors to the Python level. I would therefore like to see them passed into
__xmlRaiseError().

  The schematron code is really not complete, that sure could be fixed
but a lot more may be needed. I asked for a definitive set of test for
the ISO version and never got an answer, so I got discouraged and dropped
working on it at the time. Of course now I have far less time for libxml2

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]