[SWS-498] 3.6.1. Handling the XML Message tutorial with wrong code Created: 27/Mar/09  Updated: 04/May/12  Resolved: 12/May/09

Status: Closed
Project: Spring Web Services
Component/s: Documentation
Affects Version/s: 1.5.6
Fix Version/s: 1.5.7

Type: Improvement Priority: Major
Reporter: Vyas Sanzgiri Assignee: Arjen Poutsma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

public class HolidayEndpoint extends AbstractJDomPayloadEndpoint will not compile



 Description   

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.



 Comments   
Comment by Arjen Poutsma [ 12/May/09 ]

Fixed, thanks for spotting this!

Comment by Arjen Poutsma [ 04/May/12 ]

Closing old issues

Generated at Fri Dec 15 02:28:13 UTC 2017 using JIRA 6.4.14#64029-sha1:ae256fe0fbb912241490ff1cecfb323ea0905ca5.