* Kelvin Tan

> Not really. Its an awful hack!
> In SAXHelper.createXMLReader, I comment out
> XMLReader reader = createXMLReaderViaJAXP( validating, true );
> System.setProperty("org.xml.sax.driver",
> "org.apache.xerces.parsers.SAXParser");
> to avoid using Rein's SAX driver.

Resin barfs with OJB and quite a few other projects, as well. I've found
that it's better to replace Resins XML-libraries in $RESIN_HOME/lib
with xerces and add a few properties to $RESIN_HOME/conf/resin.conf :

<system-property
javax.xml.parsers.DocumentBuilderFactory="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>
<system-property
javax.xml.parsers.SAXParserFactory="org.apache.xerces.jaxp.SAXParserFactoryImpl"/>
<system-property
javax.xml.transform.TransformerFactory="org.apache.xalan.processor.TransformerFactoryImpl"
/>

-Einar-

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to