Issue 42827 - SVG root element has no namespace
Summary: SVG root element has no namespace
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: save-export (show other issues)
Version: OOo 1.1.4
Hardware: PC Windows XP
: P3 Trivial with 2 votes (vote)
Target Milestone: OOo 2.0.1
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-15 12:01 UTC by kevin_flynn
Modified: 2010-06-15 15:43 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 kevin_flynn 2005-02-15 12:01:31 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.
Comment 1 wolframgarten 2005-02-15 12:17:35 UTC
Reassigned to Kai.
Comment 2 wolframgarten 2005-02-15 12:18:20 UTC
I can't reproduce this but I think you are the right person for this. 
Comment 3 steve_horsley 2005-09-09 14:54:03 UTC
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.
Comment 4 taken 2005-09-27 13:29:13 UTC
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.
Comment 5 ooo 2005-10-24 09:24:05 UTC
set target to OOo 2.0.1, fixed in CWS ka004
Comment 6 wolframgarten 2005-11-10 15:17:38 UTC
Taking this.

re-open issue and reassign to wg@openoffice.org
Comment 7 wolframgarten 2005-11-10 15:17:48 UTC
reassign to wg@openoffice.org
Comment 8 wolframgarten 2005-11-10 15:17:55 UTC
reset resolution to FIXED
Comment 9 ooo 2005-11-10 15:18:45 UTC
reopened
Comment 10 wolframgarten 2005-11-10 15:19:46 UTC
Fixed.
Comment 11 wolframgarten 2005-11-10 15:21:39 UTC
Verified in CWS.
Comment 12 wolframgarten 2005-11-17 13:11:25 UTC
Tested in m140. Closed.