AW: AW: How to force Batik to use the Xerxes Parser when transforming from SVG to JPEG?

2005-01-31 Thread Christian.Stark
Hi Thomas, I really didn't manage to solve the problem. This is the error on Bea-Weblogic. I have an SVG-File and the save_to_jpeg method. When I use it locally from an static void main function it works when I test it from a servlet (locally) I get: SAX2 driver class org.apache.xerces.parsers.S

AW: How to force Batik to use the Xerxes Parser when transforming from SVG to JPEG?

2005-01-31 Thread Christian.Stark
Hi Thomas, sorry for my delayed answer: This is my solution for forcing Batik to use Xerxes: JPEGTranscoder t = new JPEGTranscoder(); t.addTranscodingHint(JPEGTranscoder.KEY_XML_PARSER_CLASSNAME,"org.apache.xerces.parsers.SAXParser"); t.addTranscodingHint(JPEGTranscoder.KEY_XML

How to force Batik to use the Xerxes Parser when transforming from SVG to JPEG?

2005-01-25 Thread Christian.Stark
Hi, I've written a simple java-application which converts svg-files to jpeg files using the batik transcoder api. It works fine when I test it locally. But when deploying it on the server (bea) I get the following error: java.io.IOException: SAX2 driver class org.apache.crimson.parser.XMLReaderI