Apache OpenOffice (AOO) Bugzilla – Issue 100326
Export Word 2003 XML - 'Could not compile stylesheet'
Last modified: 2010-03-15 13:54:08 UTC
When attempting to save a trivial Word 2003 XML file I get a 'Could not compile stylesheet' error. It also does not open this format, but I filed that as a separate bug since it seems to be a separate issue. Compiler warnings: file:///usr/lib/openoffice/basis3.0/share/xslt/export/wordml/ooo2wordml_page.xsl: line 215: Attribute 'w:space' outside of element. file:///usr/lib/openoffice/basis3.0/share/xslt/export/wordml/ooo2wordml_page.xsl: line 232: Attribute 'w:space' outside of element. file:///usr/lib/openoffice/basis3.0/share/xslt/export/wordml/ooo2wordml_page.xsl: line 249: Attribute 'w:space' outside of element. file:///usr/lib/openoffice/basis3.0/share/xslt/export/wordml/ooo2wordml_page.xsl: line 266: Attribute 'w:space' outside of element. file:///usr/lib/openoffice/basis3.0/share/xslt/export/wordml/ooo2wordml_text.xsl: line 393: Attribute 'w:space' outside of element. file:///usr/lib/openoffice/basis3.0/share/xslt/export/wordml/ooo2wordml_text.xsl: line 410: Attribute 'w:space' outside of element. file:///usr/lib/openoffice/basis3.0/share/xslt/export/wordml/ooo2wordml_text.xsl: line 427: Attribute 'w:space' outside of element. file:///usr/lib/openoffice/basis3.0/share/xslt/export/wordml/ooo2wordml_text.xsl: line 444: Attribute 'w:space' outside of element. ERROR: 'file:///usr/lib/openoffice/basis3.0/share/xslt/export/common/ooo2ms_docpr.xsl: line 134: Cannot parse attribute value template '{concat( 'o:', translate(@meta:name,'.,| ~`!@#$%^&<>*()+=[]{};:"/\?','_'))}'.' FATAL ERROR: 'Could not compile stylesheet'
Also this is no problem for me on Win and SUSE. will check it later on my Ubuntu 64bit builds.
This appears to be due to using system saxon. The patches to saxon should be sent to their official developer and configure modified until then to make it very obvious that people should not use system saxon, like how is currently done for system redland.
Cannot reproduce this with the official OOO310m4 64bit deb packages on ubuntu 8.10.
Closed
I know this one
stinky saxon-he doesn't come with a build.xml that create META-INF/services/javax.xml.transform.TransformerFactory entry of net.sf.saxon.TransformerFactoryImpl so its not getting picked up automatically as a jaxp transformer implementation, falling back to the one built into the jdk itself in this probably, and triggering one of its bugs (with {} in the transform string I think) *** This issue has been marked as a duplicate of 110136 ***
close as dup