Re: XMLReader...
Swapan Golla wrote: Any ways to instruct FOP to use a particular SAXParser rather than setting as system property ? FOP uses whatever parser you supply to the Driver, however, providing a certain parser to external SVG is a bit trickier. The only way I can see right now is to get the source distro, adjust the createParser() method of the Driver appropriately and recompile. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: XMLReader...
Any ways to instruct FOP to use a particular SAXParser rather than setting as system property ? Swapan. --- "J.Pietschmann" <[EMAIL PROTECTED]> wrote: > Swapan Golla wrote: > > [ERROR] Could not load external SVG: SAX2 driver > class > > weblogic.xml.jaxp.RegistryXMLReader loaded but > cannot > > be instantiated > > (no empty public constructor?) > This is something you should complain to your > WebLogic > support. > > > Is there a way I can instruct the SVG transcoder > API > > to use a specific xmlreader than the one used by > > weblogic ? > It depends. The easiest way would be to put the jar > with the parser you want to use in the classpath > before > the WebLogic jar. If you use JDK 1.4 , you can copy > the > jar to the JDK's lib/endorsed directory. Another > possiblity > is to set the java.xml.parsers.SAXParserFactory > service > to the class name of the factory you want to use. > > J.Pietschmann > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, email: > [EMAIL PROTECTED] > __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: XMLReader...
Swapan Golla wrote: [ERROR] Could not load external SVG: SAX2 driver class weblogic.xml.jaxp.RegistryXMLReader loaded but cannot be instantiated (no empty public constructor?) This is something you should complain to your WebLogic support. Is there a way I can instruct the SVG transcoder API to use a specific xmlreader than the one used by weblogic ? It depends. The easiest way would be to put the jar with the parser you want to use in the classpath before the WebLogic jar. If you use JDK 1.4 , you can copy the jar to the JDK's lib/endorsed directory. Another possiblity is to set the java.xml.parsers.SAXParserFactory service to the class name of the factory you want to use. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]