Issue 100324 - Import Excel 2003 XML - 'Could not compile stylesheet'
Summary: Import Excel 2003 XML - 'Could not compile stylesheet'
Status: CLOSED DUPLICATE of issue 110136
Alias: None
Product: Calc
Classification: Application
Component: open-import (show other issues)
Version: OOo 3.0.1
Hardware: Unknown All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: spreadsheet
QA Contact: issues@sc
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2009-03-18 20:14 UTC by ccheney
Modified: 2013-08-07 15:13 UTC (History)
2 users (show)

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


Attachments
Simple Excel 2003 XML file (3.08 KB, text/xml)
2009-03-18 20:15 UTC, ccheney
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description ccheney 2009-03-18 20:14:14 UTC
When opening a trivial Excel 2003 XML file I get a 'Could not compile
stylesheet' error. It appears to save to the format ok at least for the trivial
case.

 Compiler warnings:
 
file:///usr/lib/openoffice/basis3.0/share/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl:
line 4536: Attribute 'style:family' outside of element.
ERROR:  'Error checking type of the expression 'funcall(count,
[+(cast(ParentLocationPath(step("child", 74), step("child", 75)), real),
funcall(number, [variable-ref(spannedRows/result-tree)]))])'.'
FATAL ERROR:  'Could not compile stylesheet'
Comment 1 ccheney 2009-03-18 20:15:49 UTC
Created attachment 61019 [details]
Simple Excel 2003 XML file
Comment 2 ccheney 2009-03-18 20:30:58 UTC
That should say when attempting to open, as the fatal error kept it from opening.
Comment 3 Regina Henschel 2009-03-18 21:08:34 UTC
I have no problems opening the file. I use German OOo3.1.0_m5 on WinXP.

Which version do you use exactly? Which OS do you use? Which filter do you have
chosen?
Comment 4 ccheney 2009-03-18 23:14:49 UTC
Using OOo 3.0.1 as noted in the original report on Ubuntu Linux and the filter
is obviously the Excel 2003 one, I didn't have to select the filter to attempt
to open the file. There are no known go-oo patches that touch this area so it
does not appear to be a go-oo related issue. I'm still 
Comment 5 ccheney 2009-03-18 23:15:36 UTC
I'm still looking into the issue to see if I can see what is causing the issue
to show up for Ubuntu and not the official build.
Comment 6 ccheney 2009-03-20 16:43:45 UTC
It appears to have been caused by using system saxon instead of internal saxon.
There needs to either be a big configure warning not to use system saxon until
the OOo patches are integrated upstream or to convert the xsl stylesheets to
XSLT 2.0 which looks like it would solve this problem as well.
Comment 7 thorsten.ziehm 2009-11-04 14:32:48 UTC
OOo 3.2 is in show-stopper stage. If this issue is critical for such release,
please re-target it back. Otherwise this issue will be targeted to OOo 3.x.
Comment 8 caolanm 2010-03-15 13:55:25 UTC
probably saxon-he or similar which has at least two specific problems

*** This issue has been marked as a duplicate of 110136 ***
Comment 9 caolanm 2010-03-15 13:55:44 UTC
close as dup