I am running LO 4.0.3.3 on Linux3.9-1-amd64 #1 SMP Debian 3.9.8-1 x86_64 GNU/Linux. I generated a chart in LO Calc that I wanted to export to SVG for further editing with Inkscape. From Calc, I copy-pasted the chart to an empty Draw picture and exported it as SVG. The SVG file I obtained appears to be invalid and did not open in Inkscape. No detailed error message was produced by Inkscape, but Firefox and EOG both complained about the invalid file and gave some details: EOG: "Error domain 1 code 76 on line 131 column 213 of file:///home/floflooo/Work/Copyrighter/db_copy_number/rrNDB/graph/bug/graph_test.svg: Opening and ending tag mismatch: tspan line 0 and text" Firefox: "XML Parsing Error: mismatched tag. Expected: </tspan>. Location: file:///home/floflooo/Work/Copyrighter/db_copy_number/rrNDB/graph/bug/graph_test.svg Line Number 131, Column 373" Upon further inspection of the XML, there seem to be two errors: * missing </tspan> tag at the end of line 130 * extra slash in tag <text class="TextShape"/> at line 131 I have attached the ODG file that generates the invalid SVG file, the invalid SVG file itself, and my corrected version of the SVG file. Best, Florent
Created attachment 83271 [details] ODG file that generates the invalid SVG file
Created attachment 83272 [details] Invalid SVG file
Created attachment 83273 [details] Manually corrected SVG file
Reproducible under Fedora 19 (64-bit) with 4.1.0.4, and also with 4.2.0.0.alpha0+ Build ID: f4004429d339009bec6babe30becdc9c727940b8 TinderBox: Linux-x86-64@8-SLED11, Branch:master, Time: 2013-08-18_23:20:11
Bug 65788 added to See Also list. Both issues deal with a Calc chart pasted into Draw and then exported to SVG with the resultant SVG being treated differently (or not at all in this case) by Inkscape.
Problem still reproducible (neither Draw nor Inkscape v0.48.3.1 r9886 can open the exported SVG) under GNU/Linux using: - v4.3.0.3 Build ID: 08ebe52789a201dd7d38ef653ef7a48925e7f9f7 - v4.4.0.0.alpha0+ Build ID: 4aa9b041de3129f19b48e66d349f48657b73f33e (2014-07-19)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.