https://issues.apache.org/bugzilla/show_bug.cgi?id=46825
--- Comment #9 from Helder Magalhães <[email protected]> 2009-04-03 09:43:25 PST --- (In reply to comment #8) > Since the URI "file:c:\images\signatureVideBonne.svg" is a well formed URI the > transcoder should support it. I must disagree with this. The file URI scheme [1] doesn't take left slashes and should take a double right slash after "file:". Although I didn't tested myself, I inclusively find it somehow hard to work like that. In your sample, you'd want something like "file:///c:/images/signatureVideBonne.svg" (the third right slash means the file system root). Also, not having tested, I'd say that providing a relative path (such as "../images/signatureVideBonne.svg") probably works and is generally a better practice. @Batik developers also: Would a patch replacing all uses of ".toURL()" for ".toURI().toURL()" help? You may also try this and see if it helps working you particular use case. Note that you never provided the command-line used to run the rasterizer (asked for in comment 2) so I'm assuming you are wrapping the rasterizer functionality in some class, case where this may help (didn't test for this particular use case, though). I'd vote for marking this fixed (invalid) unless something interesting is added to this report... Hope this helps, Helder Magalhães [1] http://en.wikipedia.org/wiki/File_URI_scheme -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
