Apache OpenOffice (AOO) Bugzilla – Issue 100325
Import Word 2003 XML - 'Could not compile stylesheet'
Last modified: 2013-08-07 14:44:00 UTC
When opening a trivial Word 2003 XML file I get a 'Could not compile stylesheet' error. It also does not save to this format, but I filed that as a separate bug since it seems to be a separate issue. I did check and see that I do have the library libxsltfilterlx.so "../basis3.0/program/libxsltfilterlx.so" so I am not sure what is going on here... Compiler warnings: file:///usr/lib/openoffice/basis3.0/share/xslt/import/wordml/wordml2ooo_text.xsl: line 415: Attribute 'fo:padding-top' outside of element. file:///usr/lib/openoffice/basis3.0/share/xslt/import/wordml/wordml2ooo_text.xsl: line 425: Attribute 'fo:padding-left' outside of element. file:///usr/lib/openoffice/basis3.0/share/xslt/import/wordml/wordml2ooo_text.xsl: line 435: Attribute 'fo:padding-right' outside of element. file:///usr/lib/openoffice/basis3.0/share/xslt/import/wordml/wordml2ooo_text.xsl: line 445: Attribute 'fo:padding-bottom' outside of element. ERROR: 'Cannot find class 'java:XSLTFilterOLEExtracter'.' FATAL ERROR: 'Could not compile stylesheet'
Created attachment 61020 [details] Simple Word 2003 XML file
That should say when attempting to open, as the fatal error kept it from opening.
I have no problems opening the file. I use German OOo3.1.0_m5 on WinXP. Which version do you use exactly? Which OS do you use? Which filter do you have chosen?
Using OOo 3.0.1 as noted in the original report on Ubuntu Linux and the filter is obviously the Word 2003 one, I didn't have to select the filter to attempt to open the file. There are no known go-oo patches that touch this area so it does not appear to be a go-oo related issue. I'm still looking into the issue to see if I can see what is causing the issue to show up for Ubuntu and not the official build.
Checked with 3.1 dev on Win & Mac, with 3.0.1 on SUSE - the attached documentm opened fine. Will check it later on my ubuntu box.
Cannot reproduce this with the official OOO310m4 64bit deb packages on ubuntu 8.10.
Closed.
This was another one of the system saxon vs internal saxon issues. There needs to be a warning in configure not to use system saxon until the patches in OOo are sent upstream to the saxon developers... or until OOo converts its XSLT stylesheets over to XSLT 2.0, which probably would resolve this issue as well.
I know probably why saxon didn't find it
crippled saxon-he more than likely *** This issue has been marked as a duplicate of 110136 ***
close as dup