I just downloaded the source distro of Batik 1.5 I'm on Debian 3.0 and build.sh svgbrowser works fine. The resulting batik works great.
I have the SVGApplication.java file (courtesy of http://xml.apache.org/batik/javaScripting.html) in the sources directory of batik, i.e. xml-batik/sources/
It compiles fine. I execute it with:
java -cp ../resources/:../lib/:. SVGApplication
And I get an SVG Error pop-up that says:
SAX2 driver class org.apache.xerces.parsers.SAXParser not found
java.io.IOException: SAX2 driver class org.apache.xerces.parsers.SAXParser not found
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(SAXDocumentFactory.java:379)
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(SAXDocumentFactory.java:299)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(SAXSVGDocumentFactory.java:186)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createSVGDocument(SAXSVGDocumentFactory.java:111)
at org.apache.batik.bridge.DocumentLoader.loadDocument(DocumentLoader.java:96)
at org.apache.batik.swing.svg.SVGDocumentLoader.run(SVGDocumentLoader.java:82)
I have a strong suspicion that there exists an easy fix for this that is going to make me feel even more like a newbie,
but I will be very grateful to be made feel like that if the fix works.
Has anyone had this problem before? Anyone know how to fix it?
Thanks.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]