Issue 100328 - Export Unified Office Format UOS - 'Could not compile stylesheet'
Summary: Export Unified Office Format UOS - 'Could not compile stylesheet'
Status: CLOSED DUPLICATE of issue 110136
Alias: None
Product: Calc
Classification: Application
Component: save-export (show other issues)
Version: OOo 3.0.1
Hardware: Unknown All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: spreadsheet
QA Contact: issues@sc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-18 20:37 UTC by ccheney
Modified: 2010-03-15 13:48 UTC (History)
1 user (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:37:00 UTC
When attempting to save a trivial UOS 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.

Compiler warnings:
 
file:///usr/lib/openoffice/basis3.0/share/xslt/export/uof/odf2uof_spreadsheet.xsl:
line 1955: Attribute '表:位置' outside of element.
 
file:///usr/lib/openoffice/basis3.0/share/xslt/export/uof/odf2uof_spreadsheet.xsl:
line 1966: Attribute '表:位置' outside of element.
 
file:///usr/lib/openoffice/basis3.0/share/xslt/export/uof/odf2uof_spreadsheet.xsl:
line 2278: Attribute '图:类型' outside of element.
 
file:///usr/lib/openoffice/basis3.0/share/xslt/export/uof/odf2uof_spreadsheet.xsl:
line 2279: Attribute '图:名称' outside of element.
 
file:///usr/lib/openoffice/basis3.0/share/xslt/export/uof/odf2uof_spreadsheet.xsl:
line 2292: Attribute '图:图形引用' outside of element.
 
file:///usr/lib/openoffice/basis3.0/share/xslt/export/uof/odf2uof_spreadsheet.xsl:
line 2317: Attribute '图:图形引用' outside of element.
 
file:///usr/lib/openoffice/basis3.0/share/xslt/export/uof/odf2uof_spreadsheet.xsl:
line 4493: Attribute 'xsl:lodID' outside of element.
 
file:///usr/lib/openoffice/basis3.0/share/xslt/export/uof/odf2uof_spreadsheet.xsl:
line 4494: Attribute 'attrList' outside of element.
ERROR:  'Syntax error in 'child::node( )'.'
FATAL ERROR:  'Could not compile stylesheet'
Comment 1 ccheney 2009-03-18 23:45:00 UTC
It appears to work after switching to internal saxon instead of system saxon,
but still gives the following messages, so it probably should be updated to xslt
2.0. Also I am not completely sure if the resulting spreadsheet was rendered
properly since it looked like all the cells had borders around them.

saving

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

opening

Warning: at xsl:stylesheet on line 2 of
file:///usr/lib/openoffice/basis3.0/share/xslt/import/uof/uof2odf_spreadsheet.xsl:
  Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
Warning: at xsl:variable on line 57 of
file:///usr/lib/openoffice/basis3.0/share/xslt/import/uof/uof2odf_spreadsheet.xsl:
  SXWN9001: A variable with no following sibling instructions has no effect
Comment 2 caolanm 2010-03-15 13:47:57 UTC
Major issue is saxon bustageness with post saxonb versions

*** This issue has been marked as a duplicate of 110136 ***
Comment 3 caolanm 2010-03-15 13:48:14 UTC
close as dup