Re: Broken image

fireball <[email protected]>
Newsgroups gmane.text.xml.batik.user
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.