>SH> I am having xml-batik and all the necessary steps taken regarding >SH> setting environment variable. I am working on Windows NT . > >SH> When I tried to run .\build svgbroswer , compilation is done and >SH> also I am getting SVG browser , but when I tried to open a svg >SH> file in the browser I am getting the Exception > >SH> NoSuchMethodException : >SH> >org.apache.batik.dom.util.SAXDocumentFactory.createDocument(SAXDocumentFactory.java > > This is a classpath issue 90% of the time, it's a little unclear >why you would have it if you are using the build script, did you >rename some of the directories? Do you have a DOM implementation in >your JRE's extension folder?
SH> No I have not renamed anything . DOM implementation , that is SH> jaxp.jar and parser.jar from sun is having in JRE's extention SH> folder. Ahh, this is most likely the problem. Batik requires a 'stylable' DOM implementation, the DOM implementation in your jre directory apparently does not support styling. Since stuff in the JRE directory comes before anything on your class path what we do to setup the class path doesn't matter. In order to use Batik you must remove those jar files from the jre directory (for software that requires it must ensure they are on your class path in some other manner). Good luck. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]