You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Sinvaldo Pacheco <si...@gmail.com> on 2013/08/23 16:01:33 UTC
SVG problem when export to pdf
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