SVG problem when export to pdf
Sinvaldo Pacheco <[email protected]> Fri, 23 Aug 2013 11:01:33 -0300
| Newsgroups | gmane.text.xml.batik.user |
|---|---|
| Message-ID | <CAJc=u3RLCQ0xrtVyEK5UwkZY9GnvL=XmkGgo+HyCuq+odNSe-w@mail.gmail.com> |
Hello, Good morning!
Forgive me for my Engilsh, I 'm brazilian....
I ' m developing a jasper report that has a SVG image, for this I
downloaded a Apache Batik Library for do a jasperreport renders the image,
but I got a "java.lang.IllegalArgumentException: name is null"
Please, Can you help me?
===================== CODE =====================
<image hAlign="Center" vAlign="Middle">
<reportElement uuid="debf5b1d-e084-4673-a711-71f37a3acb50" x="0" y="0"
width="179" height="66"/>
<imageExpression><![CDATA[net.sf.jasperreports.renderers.BatikRenderer.getInstance(new
java.net.URL("http://localhost:8080/prohab/assets/img/BRASAO_COLORIDO.svg
"))]]></imageExpression>
</image>
===================== CODE =====================
Thanks
--
*Sinvaldo C. P. Junior*
Analista Desenvolvedor de Sistemas.
*Celular:* (19) 8121-1652