libxml2 patches Re: xmllint problem validating using ODF RelaxNG

Michael Stahl mstahl at
Mon Aug 20 07:38:17 PDT 2012

On 20/08/12 15:06, Daniel Veillard wrote:
> On Thu, Nov 17, 2011 at 05:45:10PM +0000, Michael Meeks wrote:

>> 	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.

no validation is done of anything.

>> 	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:
>   Never too late, I looked a it today. There was only one patch which
>   made sense upstream:
> 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 ,

argh, don't remind me :-/

we should be able to get rid of that one though, as it is only necessary
for older Solaris 10 versions, and currently we don't really support
Solaris anyway in LO; from Solaris 10 Update 4 onwards there is libxml2
version 2.6.23 which has all the features needed for the libxmlsec we
use, so just using system libxml2/libxslt on Solaris should work; i
would hope libxml2/libxslt are available by default on all OpenSolaris
based distros.

> or things which had been changed upstream usually in
> slightly different ways :-)

by the way, is something like

also upstream? iirc there was some common configuration of Windows where
we would want to access paths that are longer than the ridiculously
small limit for the maximum path length on that ... platform, and then
they have some silly notation with \\? that supports long pathnames...

oh, there are some more patches for libxslt here, but i guess it's
mostly uninteresting stuff:

More information about the LibreOffice mailing list