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 sc...@giub.unibe.ch on 2002/10/15 20:53:34 UTC

transcoder problems

hello,

i'm encountering a problem while using the batik-transcoder in cocoon 2. if the
svg-file i want to rasterize has all its css-definitions inside the document
(inside the <style>-tags) there are no problems. if the css-definitions are put
in an external css-stylesheet and linked via
<?xml-stylesheet href="svg.css" type="text/css"?> no output at all is generated.
when viewing the same file e.g in the acrobat viewer or in batik squiggle it is
displayed as it should be. the css-file is at the right place on the server.

the header of the svg-file is:
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<?xml-stylesheet href="svg.css" type="text/css"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:java="http://xml.apache.org/xslt/java" viewBox="587500 -213500 26500
24500" height="100%" width="100%">

in cocoon the transcoder is defined like this:
<map:serializer name="svg2png" mime-type="image/png"
src="org.apache.cocoon.serialization.SVGSerializer">
        <parameter name="transcoder"
value="org.apache.batik.transcoder.image.PNGTranscoder"/>
</map:serializer>

does the transcoder have any problem with this processing instruction or have i
forgotten some parameters?



thanks
peter



--------------------------------------------------
This mail sent through IMP at http://mail.unibe.ch


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


RE: Possible bug with