Exported Illustrator SVG with XMP results in xpacket encoding problem in Inkscape

Bug #675170 reported by fabb
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Save an (empty) Illustrator CS3 document as SVG. In the SVG export options activate XMP export.

The resulting SVG will contain the following lines:

<metadata><?xpacket begin="*" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.1-c036 46.277092, Fri Feb 23 2007 14:17:08 ">
...
</x:xmpmeta>
<?xpacket end="w"?>
</metadata>

Notice that the character denoted with a * (after xpacket begin) is a non-ANSI character.
This SVG will open fine in Inkscape, though.

Saving that file with Inkscape again will CHANGE THAT CHARACTER.
Inkscape now cannot reopen its own saved file anymore and only displays a vague error message.

su_v (suv-lp)
tags: added: encoding saving
Revision history for this message
su_v (suv-lp) wrote :

Thanks for the detailed analysis - could you attach such a sample (otherwise empty) SVG file? It would make a good test case for this issue.

The problem has been reported several times - Bug #499257 “saves svg file, that it can't read afterwards” is where most of the discussion was held so far. Linking your report as duplicate to bug #499257 - please add a comment here and revert the duplicate status if you don't agree and think these are different issues that need to be discussed and tracked separately.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.