Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-2261

com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl reset corrupts transformer.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.7
    • None
    • XSLTC
    • None
    • OS X, Java 1.5

    Description

      The bug appears when you try to reset transformer. You call method reset() and it calls setOutputProperties(null). That method just copies reference from _propertiesClone to _properties. After that all properties you set to the transformer go to _propertiesClone as well since it is the same as _properties. So far any futher attempts to reset the transformer reset the same value, which is not default value but last runtime value.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rogovskiy Sergei Rogovskiy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: