Vyas Sanzgiri opened SWS-498 and commented
3.6.1. Handling the XML Message turorial at http://static.springframework.org/spring-ws/sites/1.5/reference/html/tutorial.html has wrong code
Namespace.getNamespace throws a JDOMException with is not caught. The given code will not compile!!
Check the documentation of newInstance :--
Creates a new XPath wrapper object, compiling the specified XPath expression.
Parameters:
path the XPath expression to wrap.
Throws:
JDOMException - if the XPath expression is invalid.
Affects: 1.5.6
Referenced from: commits 3ad5fc5