[SWS-749] org.springframework.xml.sax.SaxUtils swallows exceptions Created: 18/Jan/12 Updated: 04/May/12 Resolved: 24/Jan/12
|Project:||Spring Web Services|
|Reporter:||David Nee||Assignee:||Arjen Poutsma|
|Remaining Estimate:||Not Specified|
|Original Estimate:||Not Specified|
Windows/Spring 3.0.6.RELEASE/Websphere Application Server 22.214.171.124
While starting a spring-ws application on Websphere, CommonsXsdSchemaCollection makes a call to SaxUtils in order to resolve the location of XSDs defined in the collection. I hit a problem whereby the SaxUtils.getSystemId() swallows an exception (see below) because there is a space in the URL of the XSD. This was a serious pain to track down because the code went on to create a different exception that lead me on a wild goose chase. Would be good if the exception was logged.
I modified SaxUtils to produce the logging info above (this is not a suggested solution, just some verbose logging I added to try find out what was happening). Below is the modified code that produced the log output above...
|Comment by David Nee [ 18/Jan/12 ]|
Apologies for the bad formatting...I will read the JIRA Help before I submit again.
|Comment by Arjen Poutsma [ 19/Jan/12 ]|
|Comment by Arjen Poutsma [ 24/Jan/12 ]|
|Comment by Arjen Poutsma [ 04/May/12 ]|
Closing old issues