Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-618

It should be possible to set base URI for resolving relative DTD and external entities in XML requests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.5.9
    • Fix Version/s: None
    • Component/s: XML
    • Labels:
      None
    • 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).

        Attachments

          Activity

            People

            Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            mikaelstaldal Mikael Ståldal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: