Dave Neuendorf wrote:
I have an application that makes heavy use of the xml capabilities built
into the latest jdk. Do I need to use redundant jars for xerces, etc in
order to integrate batik into this app, or is batik compatible with the
built-in xml support? I certainly don't want to convert the whole app to
use non-jdk xml.
So Batik is very happy to use the JDK's SAX2 parser. It also
now uses the 'xml-apis' jar files for the W3C interfaces. However
due to the need to support CSS and a the SVG DOM Batik has it's
own DOM implementation. So if you have XML Documents that are
using the JDK's DOM implementation you will need to 'import'
them to the Batik DOM.
To convince Batik to use the JDK parser you need to do
one of several things:
Write a UserAgent subclass implementing 'getXMLParserClassName'
or modify the org.apache.batik.util.resources.XMLResourceDescriptor
resource file to reference your SAX Parser class.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]