xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel López <D.Lo...@uib.es>
Subject svg-20001102.dtd not found.
Date Thu, 16 Aug 2001 08:09:06 GMT

I'm trying to process an SVG file inside a servlet to show a JPEG image
and after dealing with a couple of XML parser incompatibility issues,
I've stumbled into this error. When I process the SVG file, a sample
file provided with the batik-1.1rc, I get the error:
java.io.IOException: File
not found.
The file batik-svg-dom.jar is in the classpath and it is exactly in
D:/Apps/Test/Test/Test/WEB-INF/lib/, I also checked to see that the dtd
file is in there and indeed, it is. Any clues?
This is how I'm processing the file, extratec from the sample files and
some messages from this list archive:
   // create a JPEG transcoder
   JPEGTranscoder t = new JPEGTranscoder();
   // set the transcoding hints
                        new Float(.8));
   // create the transcoder input
   SAXSVGDocumentFactory svgFactory = new
   String svgNS = SVGDOMImplementation.SVG_NAMESPACE_URI;
   // Input is the sample file batik3D.svg, read as an InputStream
   Document document =
   TranscoderInput input = new TranscoderInput(document);
   // create the transcoder output
   TranscoderOutput output = new
   // generate/show the image
   t.transcode(input, output);
Any clues what might be going wrong?

Thanks in advance,

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

View raw message