Note that XStream has some dependencies of its own. It requires the standard XML API's (xml-apis.jar from the Apache Xerces2-j project or j2sdk1.4+) and an XML implementation (again, provided by Xerces2 or j2sdk1.4+).
To make XStream up to 10x faster, add XPP3 to the classpath. XStream has the concept of a HierarchicalStreamDriver and the default implementation for XStream is the highly performant XppDriver. However, XStream will fall back to the DomDriver if XPP3 is not found in the classpath making the XPP3 library entirely optional... well, not quite. See XSTR-71. The current decision in that issue forces XPP3 to be a required runtime dependency when using XStream unless one specifically configures another driver, such as the DomDriver.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|