On 4/28/14, 4:31 PM, Jay H. Hartley wrote:
I see in the source code for Resin 4, a new package called
com.caucho.xml2. Among other things, the XmlParseException there now
extends SAXException, rather than a RuntimeException, as was the case
in com.caucho.xml.XmlParseException. That's excellent.
However, when I look at
com.caucho.xml2.parsers.XmlDocumentBuilderFactory, it appears to use
the com.caucho.xml.Xml class from the old package, which ultimately
uses the old parser logic.
Am I missing something? What is the default parser for Resin 4, and
which xml package is actually used?
xml2 is a discontinued experiment (so, actually, we should delete it.)
The default Xml for everything but Resin's own config parsing is the
JDK's parser.
When I was working on the xml2, it had a slight performance benefit over
the JDK, but not enough to justify maintaining it.
-- Scott
Jay
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest