Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-3658

Specify custom TransformerFactory in org.springframework.web.servlet.view.xslt.XsltView

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.6
    • Fix Version/s: 2.0.7, 2.1 M3
    • Component/s: Web
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      org.springframework.web.servlet.view.xslt.XsltView has outstanding realization and solves all our problems except one.
      Would be quite useful to have an ability to customize TransformerFactory implementation via class specification or instantiation of realization.

      Currently the only ways to specify custom TransformerFactory for XsltView are to set System Property "javax.xml.transform.TransformerFactory" or put custom library to endorsed path (either of jvm or app-server). But both of them are too strong and may violate behaviour of app-server or ay other component of system.

      It would be handy to have a set method for "TransformerFactory transformerFactory" field or any other way to override JAXP TransformerFactory.newInstance() logic.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                juergen.hoeller Juergen Hoeller
                Reporter:
                dp Dennis Pashutkin
                Last updater:
                Trevor Marshall
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  11 years, 3 weeks, 3 days ago