Re: [xml] Schematron support?



On Thu, Jul 09, 2009 at 12:47:02PM +0200, Michael Ludwig wrote:
Daniel Veillard schrieb:
On Wed, Jul 08, 2009 at 01:56:36PM +0200, Michael Ludwig wrote:
I just tried out the Schematron support in LibXML2.

# xmllint --noout --schematron test.sch /tmp/t1.xml
/tmp/t1.xml validation generated an internal error

The doc t1.xml is alright; its document element matches
the Schematron <pattern>. What does the error message mean?

  Schematron support is not complete, sorry. It stopped when
I started to search for regression test suite and couldn't find
any.

Thanks, that makes it clearer. If it is incomplete enough, maybe
the --schematron option should be removed from xmllint.

  It works for some simple tests though, so ...

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



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