cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Salvetti" <>
Subject Re: raster (jpeg, png) graphics in Batik SVG rasterizer under Cocoon
Date Mon, 02 Apr 2007 06:37:00 GMT
Hi Wendell,

i had a similar pb and it was because of and a pb in the endDocument
function because of a bad base url and something about a call to the
setDocumentLocator function.
I didn't really solved the issue, just pointed it and changed it to fit my
Look in the logs if you have something like *setDocumentLocator was not
called, will use base uri*



2007/4/2, Wendell Piez <>:
> Hi,
> When serving SVGs with Cocoon, if I call a jpeg or PNG image into an
> SVG file and the Cocoon sitemap is configured to deliver them, I can
> see them just fine in the SVG in a browser. But when I pass the same
> SVG through Batik's rasterizer under Cocoon to make a jpeg (or png),
> the jpeg or png fails to be included, instead showing me a nice but
> alarming placeholder image. (I can arrange for examples on request,
> and/or show my sitemap.)
> When I run Batik standalone (as a client) and point them to the SVGs
> (being delivered by Cocoon), it behaves just like any SVG browser,
> displaying the jpeg or PNG and even offering me the rasterize
> functionality. It's when it's running on the server that it doesn't work.
> Does anyone have any hints as to whether (and how) it's possible to
> get Batik to resolve and include these images when rasterizing under
> Cocoon?
> Regards,
> Wendell
> ======================================================================
> Wendell Piez                  
> Mulberry Technologies, Inc.      
> 17 West Jefferson Street                    Direct Phone: 301/315-9635
> Suite 207                                          Phone: 301/315-9631
> Rockville, MD  20850                                 Fax: 301/315-8285
> ----------------------------------------------------------------------
>    Mulberry Technologies: A Consultancy Specializing in SGML and XML
> ======================================================================
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message