Exported Illustrator SVG with XMP results in xpacket encoding problem in Inkscape
Bug #675170 reported by
fabb
This bug report is a duplicate of:
Bug #499257: saves svg file, that it can't read afterwards.
Edit
Remove
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="W5M0MpCehiH
<x:xmpmeta xmlns:x=
...
</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.
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.