Issue 100329

Summary: Export Unified Office Format UOT - 'Could not compile stylesheet'
Product: Writer Reporter: ccheney <ccheney>
Component: save-exportAssignee: writerneedsconfirm <swneedsconfirm>
Status: CLOSED DUPLICATE QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 3.0.1   
Target Milestone: ---   
Hardware: Unknown   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description ccheney 2009-03-18 20:41:14 UTC
When attempting to save a trivial UOT file I get a 'Could not compile
stylesheet' error. I don't know if opening files of this format works as I have
none available in this format.

ERROR:  'Syntax error in 'parent::node( )/@text:style-name'.'
FATAL ERROR:  'Could not compile stylesheet'
Comment 1 ccheney 2009-03-18 23:35:46 UTC
Reverting to internal saxon (instead of system saxon) appears to allow the file
to save properly but it gives the following warning:

Warning: at xsl:stylesheet on line 2 of
file:///usr/lib/openoffice/basis3.0/share/xslt/export/uof/odf2uof_text.xsl:
  Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor

Opening the file it gives the following warning and does not display the file
correctly (doesn't seem to display it at all):

Warning: at xsl:stylesheet on line 2 of
file:///usr/lib/openoffice/basis3.0/share/xslt/import/uof/uof2odf_text.xsl:
  Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
Warning: on line 1640 of
file:///usr/lib/openoffice/basis3.0/share/xslt/import/uof/uof2odf_text.xsl:
  Creating an attribute here will fail if previous instructions create any children
Comment 2 ccheney 2009-03-18 23:36:37 UTC
Er I just assume it saved properly I have no way to actually test it since it
won't display the file when opening.
Comment 3 michael.ruess 2009-03-20 10:59:13 UTC
Cannot reproduce this with the official OOO310m4 64bit deb packages on ubuntu 8.10.
Comment 4 eric.savary 2009-03-20 14:18:07 UTC
Closed
Comment 5 caolanm 2010-03-15 13:46:01 UTC
reopening because I know some of the reasons that the currently available saxon
doesn't work, while the internal one does
Comment 6 caolanm 2010-03-15 13:46:31 UTC
saxon-he is fecking useless to us :-)

*** This issue has been marked as a duplicate of 110136 ***
Comment 7 caolanm 2010-03-15 13:46:46 UTC
set as closed