Apache OpenOffice (AOO) Bugzilla – Issue 42827
SVG root element has no namespace
Last modified: 2010-06-15 15:43:09 UTC
The SVG generated by the SVG export function does not have a namespace specified in the root element. This causes SVG files generated by OO to be rejected by some programs: the two I know about are: - Inkscape SVG editor - RenderX XEP XSL-FO Processor In both cases, editing the output SVG file and replacing: <svg width="62mm" height="26mm" viewBox="0 0 6200 2600"> with <svg xmlns="http://www.w3.org/2000/svg" width="62mm" height="26mm" viewBox="0 0 6200 2600"> (for example) solves the problem.
Reassigned to Kai.
I can't reproduce this but I think you are the right person for this.
Add Linux to the O/S list where this problem shows. Add Firefox 1.5 beta 1 to the list of applications that cannot read the exported SVG files. I confirm that adding the xmlns attribute as described fixes this problem, although other bugs mean that text is still illegible and lines are invisible.
This bug cause OOo exported SVG to be not shown on Firefox 1.5 Beta 1(http://jwatt.org/svg/authoring/). The svg's namespace(http://www.w3.org/2000/svg) and the xlink's namespace(http://www.w3.org/1999/xlink)(if used) is require.
set target to OOo 2.0.1, fixed in CWS ka004
Taking this. re-open issue and reassign to wg@openoffice.org
reassign to wg@openoffice.org
reset resolution to FIXED
reopened
Fixed.
Verified in CWS.
Tested in m140. Closed.