<div>Maybe the .png extension missing is confusing CXF. It is babbling about media types in there.</div><div><br></div><div>Otherwise:</div><div><meta charset="utf-8">Your href is a xlink, so maybe it behaves differently:<div>

<br></div><div><a href="http://www.w3.org/TR/xlink/">http://www.w3.org/TR/xlink/</a></div></div><div><br><div class="gmail_quote">On Thu, Jun 9, 2011 at 17:40, Tihomir Surdilovic <span dir="ltr">&lt;<a href="mailto:tsurdilo@redhat.com">tsurdilo@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi guys, I am using apache batik to convert some svg to png image and am<br>
running into a weird problem:<br>
the svg includes image tags which point to guvnor (rest api), for example:<br>
<br>
&lt;image oryx:anchors=&quot;top&quot; x=&quot;1.6399999999999988&quot; y=&quot;2&quot; width=&quot;20&quot;<br>
height=&quot;20&quot;<br>
xlink:href=&quot;<a href="http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/fault/binary" target="_blank">http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/fault/binary</a>&quot;<br>


id=&quot;_28EB8C09-7BF0-4401-98C4-8ECDCE8D987E__28EB8C09-7BF0-4401-98C4-8ECDCE8D987E_19&quot;/&gt;<br>
<br>
where &quot;fault&quot; is fault.png which I uploaded into Guvnor in the<br>
defaultPackage.<br>
<br>
When the batik transcoders evaluate this image url<br>
(<a href="http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/fault/binary" target="_blank">http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/fault/binary</a>)<br>
jaxrs on the Guvnor side throws this error:<br>
<br>
<a href="https://gist.github.com/1017665" target="_blank">https://gist.github.com/1017665</a><br>
<br>
Anyone got any hints on this error?<br>
<br>
Thanks!<br>
Tihomir<br>
_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
</blockquote></div><br></div>