Re: [Libreoffice] xmllint problem validating using ODF RelaxNG
On Thu, Nov 17, 2011 at 05:45:10PM +, Michael Meeks wrote: Hi Dag Daniel, On Wed, 2011-11-16 at 14:43 +0100, Dag Wieers wrote: 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 Hopefully we're not doing validation in LibreOffice on load/save - but this is more of an xmllint feature, so we don't need to update our internal libxml2. Which reminds me - Daniel, we've inherited a number of 'interesting' patches from OO.o on top of libxml2 and libxmlsec which are in git here: http://cgit.freedesktop.org/libreoffice/core/tree/libxml2 Never too late, I looked a it today. There was only one patch which made sense upstream: http://cgit.freedesktop.org/libreoffice/core/plain/libxml2/libxml2-latin.patch the others either were updates to auto* files that were updated independantly, a change to linker file to export symbols I dont want to see exported , or things which had been changed upstream usually in slightly different ways :-) http://cgit.freedesktop.org/libreoffice/core/tree/libxmlsec That really should be forwarded to Aleksey Sanin alek...@aleksey.com who maintains xmlsec (not a well formed report I'm afraid, and some are prolly uninteresting pragmatic nasties for internal compilation); We're using libxml2-2.7.6 and xmlsec1-1.2.4 - prolly somewhat out of date due to the validation cost of updating them. Thanks to Daniel for the excellent support :-) And thanks for your heads up nice to have Daniel on the CC of a mail again, it's been a while (somehow) :-) and as you can see I can be a bit slow at mails too, that doesn't help :-) Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] xmllint problem validating using ODF RelaxNG
Hi Dag Daniel, On Wed, 2011-11-16 at 14:43 +0100, Dag Wieers wrote: 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 Hopefully we're not doing validation in LibreOffice on load/save - but this is more of an xmllint feature, so we don't need to update our internal libxml2. Which reminds me - Daniel, we've inherited a number of 'interesting' patches from OO.o on top of libxml2 and libxmlsec which are in git here: http://cgit.freedesktop.org/libreoffice/core/tree/libxml2 http://cgit.freedesktop.org/libreoffice/core/tree/libxmlsec (not a well formed report I'm afraid, and some are prolly uninteresting pragmatic nasties for internal compilation); We're using libxml2-2.7.6 and xmlsec1-1.2.4 - prolly somewhat out of date due to the validation cost of updating them. Thanks to Daniel for the excellent support :-) And thanks for your heads up nice to have Daniel on the CC of a mail again, it's been a while (somehow) :-) All the best, Michael. -- michael.me...@suse.com , Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] xmllint problem validating using ODF RelaxNG
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, d...@wieers.com, http://dag.wieers.com/ -- dagit linux solutions, i...@dagit.net, http://dagit.net/ [Any errors in spelling, tact or fact are transmission errors] ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice