Re: [xml] Catching error messages in schematron

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

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

  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


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]