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 and matched correctly.
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 to configure something? thanks peter -------------------------------------------------- This mail sent through IMP at http://mail.unibe.ch --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>