xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sch...@giub.unibe.ch
Subject transcoder problems
Date Tue, 15 Oct 2002 18:53:34 GMT
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


Mime
View raw message