Found solution in case other poeple have the same issue.

Problem - I was loading SVG file as an inputstream and setting uri to null:
document = f.createDocument(null, inputStream);

Solution is to simply set the URI:
document = f.createDocument(file.toURI().toString(), inputStream);

Fireball.



--
View this message in context: 
http://batik.2283329.n4.nabble.com/Broken-image-tp4655209p4655344.html
Sent from the Batik - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-h...@xmlgraphics.apache.org

Reply via email to