[SWS-618] It should be possible to set base URI for resolving relative DTD and external entities in XML requests Created: 15/Apr/10  Updated: 15/Apr/10

Status: Open
Project: Spring Web Services
Component/s: XML
Affects Version/s: 1.5.9
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Mikael Ståldal Assignee: Arjen Poutsma
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Java 1.6.0_18
WebLogic Server 10.3.0



 Description   

When using DomPoxMessageFactory and get an incoming request with a DOCTYPE with DTD reference like this:
<!DOCTYPE some_request SYSTEM 'integration.dtd'>

it tries to read a file "integration.dtd" in current directory from the file system on the server. That's not very clever default behavior, and it is difficult to change. It would be more useful if it reads it from classpath (WEB-INF/classes).


Generated at Wed Dec 13 19:01:59 UTC 2017 using JIRA 6.4.14#64029-sha1:ae256fe0fbb912241490ff1cecfb323ea0905ca5.