Skip to content

3.6.1. Handling the XML Message tutorial with wrong code [SWS-498] #631

@gregturn

Description

@gregturn

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions