Pathnames in Windows-exported SVG files (slashes)?

Discuss SVG code, accessible via the XML Editor.
hasi
Posts: 6
Joined: Sun Dec 09, 2007 12:14 pm

Pathnames in Windows-exported SVG files (slashes)?

Postby hasi » Tue Dec 11, 2007 3:50 am

I recently noticed that embedded bitmaps in SVG files exported from (Windows) Corel X3 (=v.13) get the windows-typical backslashes rather than forward slashes in their file references in the generated SVG files. Therefore these files do not show the bitmaps when opened on Inkscape in Linux. It can be easily fixed by manually replacing the forward slashes by backslashes (which is tedious, however).
Is that defined in the SVG standard? Is Corel goofing, or is inkscape not correctly considering files generated on a different platform?
--hasi.

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Pathnames in Windows-exported SVG files (slashes)?

Postby microUgly » Tue Dec 11, 2007 8:18 am

This is probably a good issue to take to the developers.

I run the windows version of Inkscape and it uses a windows styled filepath as well - so it seems this may also be an issue between Windows Inkscape and Linux Inkscape, although it's odd it hasn't been noticed before.


Return to “SVG / XML Code”