pdf import creates invalid svg (fault upon later read)

Bug #807430 reported by Darko Veberic on 2011-07-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Medium
Unassigned

Bug Description

import of the attached pdf file results in working internal vector representation but when the scene is saved as svg, inkscape reports an xml "parser error : PCDATA invalid Char value" in <tspan> when the svg file is opened again...

description: updated
Alvin Penner (apenner) wrote :

confirmed on Windows 7, Inkscape 0.48.1
exit messages are:

C:\Windows\Temp\0.svg:3617: parser error : PCDATA invalid Char value 16
                         id="tspan5479">►◄</tspan></text>
                                        ^
C:\Windows\Temp\0.svg:3617: parser error : PCDATA invalid Char value 17
                         id="tspan5479">►◄</tspan></text>
                                         ^
C:\Windows\Temp\0.svg:3617: parser error : PCDATA invalid Char value 16
                         id="tspan5479">►◄</tspan></text>
                                        ^
C:\Windows\Temp\0.svg:3617: parser error : PCDATA invalid Char value 17
                         id="tspan5479">►◄</tspan></text>
                                         ^

Changed in inkscape:
status: New → Confirmed
su_v (suv-lp) wrote :

Reproduced with Inkscape 0.47, 0.48.1 and 0.48+devel r10423 on Mac OS X 10.5.8. (i386)

Console messages (r10423):
/Volumes/blue/img/Inkscape/test/bug/807430-0-r10423.svg:3617: parser error : PCDATA invalid Char value 16
                         id="tspan2503"></tspan></text>
                                        ^
/Volumes/blue/img/Inkscape/test/bug/807430-0-r10423.svg:3617: parser error : PCDATA invalid Char value 17
                         id="tspan2503"></tspan></text>
                                         ^

tags: added: importing saving
removed: import
Changed in inkscape:
importance: Undecided → Medium
su_v (suv-lp) wrote :

Corrupt SVG file

Beluga (buovjaga) wrote :

No repro. Used internal import. Plz re-test.

Arch Linux 64-bit, KDE Plasma 5
Inkscape 0.92pre1 15054 (GTK3)

checked with Inkscape 0.91 r13725 on ubuntu 15.10: after import of this pdf is saved as svg, the subsequent opening of the svg file reproduces the graphical elements of the pdf, although there are some stderr messages:

0.svg:4076: parser error : PCDATA invalid Char value 3
                         id="tspan2480">^C</tspan></text>
                                        ^
0.svg:4106: parser error : PCDATA invalid Char value 2
                         id="tspan2496">^B^C</tspan></text>
                                        ^
0.svg:4106: parser error : PCDATA invalid Char value 3
                         id="tspan2496">^B^C</tspan></text>
                                         ^

** (inkscape:19781): WARNING **: Couldn't find row for font-family: Sans

where ^B = 0x02 and ^C = 0x03.

jazzynico (jazzynico) wrote :

Parser error messages reproduced when opening the SVG created with the PDF file on Xubuntu 16.04, trunk rev. 15071.

Changed in inkscape:
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers