Loading linked images with windows directory separator fails

Bug #1103915 reported by Maris Nartiss
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Undecided
Unassigned

Bug Description

A SVG created with CorelDraw contained linked images with relative paths in form "folder\file.name". Inkscape running on Linux failed to load them. Changing directory separator from \ to / in XML fixes issue.

As Windows style directory separators are not going to disappear, Inkscape should support both directory separators.

Gentoo Linux ~AMD64
Inkscape 0.48.4 r9939

Revision history for this message
Maris Nartiss (maris-nartiss) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

on Windows 7, Inkscape 0.48.4, this file loads correctly.

Revision history for this message
Maris Nartiss (maris-nartiss) wrote :

Here is sample with Unix type directory separator / It loads just fine on my Linux system. Does it fail on MS Windows?

Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Debian testing, Inkscape 0.48.3.1 and trunk revision 12060.
The linked image from comment #1 doesn't load correctly.

The opposite is not true, and loading the file from comment #3 on Windows XP works as expected (tested with 0.48.4 and trunk revision 12043).

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

Squiggle (Batik1.7) and rsvg-view-3 (librsvg 2.36.4) don't process the backslash either (tested on OS X 10.7.4), neither does Opera.
Other web browsers (Firefox, Safari, Chromium) support it.

What does the spec say?

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.