Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It should be possible to set base URI for resolving relative DTD and external entities in XML requests [SWS-618] #627

Open
gregturn opened this issue Apr 15, 2010 · 0 comments

Comments

@gregturn
Copy link
Member

Mikael Ståldal opened SWS-618 and commented

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).


Affects: 1.5.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant