Format of path names in SVG files?
Dear all,
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 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? Shouldn't there be a platform-independent standard for the path names?
PS: I recently got note from microUgly that the Windows version of Inkscape also produces backslashes.
On Friday, March 7, 2008, 5:26:53 PM, Hannes wrote:
HS> Dear all,
HS> I recently noticed that embedded bitmaps in SVG files exported from HS> (Windows) Corel X3 (=v.13) get the windows-typical backslashes rather HS> than forward slashes in their file references in the generated SVG HS> files. Therefore these files do not show the bitmaps when opened on HS> Inkscape in Linux. It can be fixed by manually replacing the forward HS> slashes by backslashes (which is tedious, however). HS> Is that defined in the SVG standard?
The SVG standard uses URIs, which are defined by the IETF in RFC 3986 http://www.faqs.org/rfcs/rfc3986.html
and these do not use backward slashes (regardless of operating system).
HS> Is Corel goofing,
yes
HS> or is inkscape HS> not correctly considering files generated on a different platform? HS> Shouldn't there be a platform-independent standard for the path names?
HS> PS: I recently got note from microUgly that the Windows version of HS> Inkscape also produces backslashes.
That would also be a goof.
participants (2)
-
Chris Lilley
-
Hannes Schniepp