Issue 100326 - Export Word 2003 XML - 'Could not compile stylesheet'
Summary: Export Word 2003 XML - 'Could not compile stylesheet'
Status: CLOSED DUPLICATE of issue 110136
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: OOo 3.0.1
Hardware: Unknown All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: writerneedsconfirm
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-18 20:24 UTC by ccheney
Modified: 2010-03-15 13:54 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ccheney 2009-03-18 20:24:54 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'
Comment 1 michael.ruess 2009-03-19 11:17:10 UTC
Also this is no problem for me on Win and SUSE. will check it later on my Ubuntu
64bit builds. 
Comment 2 ccheney 2009-03-20 05:12:14 UTC
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.
Comment 3 michael.ruess 2009-03-20 10:55:15 UTC
Cannot reproduce this with the official OOO310m4 64bit deb packages on ubuntu 8.10.
Comment 4 eric.savary 2009-03-20 14:18:03 UTC
Closed
Comment 5 caolanm 2010-03-15 13:52:04 UTC
I know this one
Comment 6 caolanm 2010-03-15 13:53:52 UTC
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 ***
Comment 7 caolanm 2010-03-15 13:54:08 UTC
close as dup