The latest checkstyle plugin doesn't work with Eclipse M9 becuase the Xerces plugin no longer comes with Eclipse. Copying the Xerces plugin from M7 has been known to work.
I don't know the usage patterns for Xerces in existing codebases. If it's in
memory manipulation of DOM trees, I would recommend dom4j, if it's mainly
parsing of incoming XML streams, I would recommend XPP.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The latest checkstyle plugin doesn't work with Eclipse M9 becuase the Xerces plugin no longer comes with Eclipse. Copying the Xerces plugin from M7 has been known to work.
Eclipse "Bug" Entry:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=64013
Summary:
Eclipse 3.0M9 does not ship org.apache.xerces plugin anymore. This calls for
changing the way XML is processed in plugins.
Options include:
- straight SAX/DOM as provided by J2SE1.4+
http://java.sun.com/j2se/1.4.2/docs/guide/xml/jaxp/index.html
- jdom - Java friendly DOM like API, not compatible with DOM/SAX http://jdom.org
(home page unavailable - project discontinued?)
- dom4j - provides extension of DOM API with Java specific constructs, outperforms Xerces
http://jdom.org
- XPP small footprint/high performace pull parser
http://www.extreme.indiana.edu/xgws/xsoap/xpp/
I don't know the usage patterns for Xerces in existing codebases. If it's in
memory manipulation of DOM trees, I would recommend dom4j, if it's mainly
parsing of incoming XML streams, I would recommend XPP.