issues with xsltproc and Apache OpenOffice
While trying to update libxml2 from 2.9.8 to 2.9.9, I found that with 2.9.9, Apache OpenOffice no longer builds, while it builds fine with libxml2 2.9.8. The issue seems to be related to an xsltproc
call in the OO build. I have reduced it to a small test case, which I have attached in a shar filerepro2.shar, which also contains the git bisect script I used. The test case is meant to mimic the call to xsltproc
in OO. The xslt call that seems to trigger the issues is:
https://github.com/apache/openoffice/blob/trunk/main/writerfilter/source/ooxml/factory_ns.xsl#L61
The git commit that git bisect reports as the first "bad" commit is:
I've tried to eliminate local sources of issues and have tested this on other systems, but still see the reproduction test case fail. I'm not sure if the issue is truly a libxml2 issue or a bug in the way OO calls xsltproc
. So far in all the other testing of libxml2 2.9.9 I've done, this is the only issue I've seen. The only thing I can say for certain is I see a difference in behavior between xsltproc
using libxml2 2.9.8 and 2.9.9. I have no idea which is correct, so any advice you can offer would be appreciated. I did try with a newer libxslt/xsltproc as well, but that didn't seem change anything related to this issue (same between libxslt 1.1.32 and libxslt 1.1.33).