[Libreoffice] xmllint problem validating using ODF RelaxNG

Dag Wieers dag at wieers.com
Wed Nov 16 05:43:55 PST 2011


Hi,

There is a (known) problem when using xmllint with the ODF RelaxNG schema, 
that causes xmllint to fail with error message:

     Unimplemented block at relaxng.c:8948

This was bothering us for the asciidoc-odf development.

I reported it to Red Hat and Daniel Veillard fixed this promptly 
in libxml2.

     https://bugzilla.redhat.com/show_bug.cgi?id=752393

The reason is that xmllint did not implement the RelaxNG optional 
element. In case you have had this problem, you can patch your libxml2 
implementation:

     http://git.gnome.org/browse/libxml2/commit/?id=7dd0d916c6a92ca4a398b8bc56fb0d7f98df00b6

PS I am hoping that this is backported to RHEL6 (and hopefully RHEL5 too), 
but in the meantime I plan to provide packages fixing this problem in 
RPMforge's Extras repository for RHEL/CentOS.

Thanks to Daniel for the excellent support :-)
-- 
-- dag wieers, dag at wieers.com, http://dag.wieers.com/
-- dagit linux solutions, info at dagit.net, http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]


More information about the LibreOffice mailing list