Apache OpenOffice (AOO) Bugzilla – Issue 100328
Export Unified Office Format UOS - 'Could not compile stylesheet'
Last modified: 2010-03-15 13:48:14 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'
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
Major issue is saxon bustageness with post saxonb versions *** This issue has been marked as a duplicate of 110136 ***
close as dup