[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

Java 1.6.0_18
WebLogic Server 10.3.0


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 Thu Nov 15 16:41:13 UTC 2018 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.