pdf import creates invalid svg (fault upon later read)

Bug #807430 reported by Darko Veberic
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
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...

Revision history for this message
Darko Veberic (darko-veberic-kit) wrote :
description: updated
Revision history for this message
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
Revision history for this message
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
Revision history for this message
su_v (suv-lp) wrote :

Corrupt SVG file

Revision history for this message
Beluga (buovjaga) wrote :

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

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

Revision history for this message
Darko Veberic (darko-veberic-kit) wrote :

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.

Revision history for this message
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
Revision history for this message
Jonathan Hofinger (jhofinger) wrote :

Hi, this issue has been reported on Gitlab: https://gitlab.com/inkscape/inkscape/-/issues/1369

Closed by: https://gitlab.com/jhofinger

Changed in inkscape:
status: Triaged → Invalid
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.