cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Irving Salisbury III <...@dotech.com>
Subject Re: Perplexing PDF SVG question
Date Mon, 23 Jun 2003 19:39:07 GMT
I am using a third partly library that does things like  url( 
#someReference), so I can't get around it. 

Why is this not a bug, it seems like something that should be supported, 
and batik even has a bug fix in 1.5b4 (that happens to break the library 
code for me)

Irv

J.Pietschmann wrote:

> Irving Salisbury III wrote:
>
>> I have embedded an SVG image into my xsl:fo document.  It renders 
>> fine when using command line fop.  However, when I put it in a cocoon 
>> pipeline, I am getting the following error:
>>
>> ERROR   (2003-06-23) 08:02.42:903   [sitemap.serializer.fo2pdf.fop] 
>
> ...
>
>> java.lang.NullPointerException
>>    at java.net.URL.<init>(URL.java:366)
>
> ...
>
>>    at org.apache.batik.util.ParsedURLData.buildURL(Unknown Source)
>
>
> You seem to have an internal reference like <gradient id="#foo">
> in an inlined SVG. Don't do this, it wont work. And no, strictly
> spoken this is not even a bug. Either reference the SVG as external
> graphic, or use a full absolute URL to an external URL for the
> reference.
>
> J.Pietschmann
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message