inkscape 0.47 does not open own svg

Bug #513895 reported by Dániel S.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Undecided
Unassigned

Bug Description

"Laden der gewünschten Datei ...\nyiregyhaza_karddal_kesz.svg fehlgeschlagen" error message when trying to open the attached file.
The file was previously created with inkscape!
This randomly happens since I changed from version 0.46 to 0.48!

Inkscape 0.48 on Windows 7

Tags: encoding svg
Revision history for this message
Dániel S. (sulyok-daniel) wrote :
description: updated
Revision history for this message
su_v (suv-lp) wrote :

from the attached file:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 11.0, SVG Export Plug-In . SVG Version: 6.0.0 Build 78) -->

<svg
   xmlns:xapGImg="http://ns.adobe.com/xap/1.0/g/img/"
   xmlns:xap="http://ns.adobe.com/xap/1.0/"
   xmlns:ns0="http://ns.adobe.com/SaveForWeb/1.0/"
   xmlns:ns="http://ns.adobe.com/Variables/1.0/"
   xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/"
   xmlns:x="adobe:ns:meta/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:xlink="http://www.w3.org/1999/xlink"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   i:viewOrigin="201 517"
   i:rulerOrigin="0 0"
   i:pageBounds="0 841.8896 595.2754 0"
   width="192.756"
   height="192.755"
   viewBox="0 0 192.756 192.755"
   overflow="visible"
   enable-background="new 0 0 192.756 192.755"
   xml:space="preserve"
   id="svg2"
   version="1.1"
   inkscape:version="0.47 r22583"
   (…) />

Some of these tags were not added by Inkscape. It is possible that data included from proprietary Adobe tags in the document triggers an encoding bug in Inkscape, similar as described in Bug #499257 “saves svg file, that it can't read afterwards”.

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

Could you clarify what you mean by Inkscape 0.48? The current release is 0.47, and your document was last edited with
 inkscape:version="0.47 r22583"

Revision history for this message
sas (sas-sas) wrote :

The problem is caused by an incorrectly encoded <?xpacket> processing instruction. I've attached the file with this processing instruction removed.

Revision history for this message
Dániel S. (sulyok-daniel) wrote :

Sorry, I was a bit confused with the version numbers. As you wrote, i use 0.47 (, previously 0.45 without having this problem)

Revision history for this message
Dániel S. (sulyok-daniel) wrote :

> The problem is caused by an incorrectly encoded <?xpacket> processing instruction
What can I do to prevent this? We have the same problem over and over again with other files.

summary: - inkscape 0.48 does not open own svg
+ inkscape 0.47 does not open own svg
Revision history for this message
su_v (suv-lp) wrote :

confirmed with Inkscape 0.47 r22583 and Inkscape 0.47+devel r9047 on OS X 10.5.8

console messages:
/path/to/Inkscape/test/bug/513895-nyiregyhaza_karddal_kesz.svg:314: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xFF 0x27 0x20 0x69
<?xpacket begin='�' id='W5M0MpCehiHzreSzNTczkc9d'?><x:xmpmeta

Changed in inkscape:
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

Linking as duplicate to bug #499257 “saves svg file, that it can't read afterwards”:
<https://bugs.launchpad.net/inkscape/+bug/499257>

Please add a comment here and revert the duplicate status if you don't agree and think this was done in error.

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.