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

Possible Templates/Transformers threading issue

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.7
    • 2.7.1
    • transformation
    • None

    Description

      While running some tests I noticed something strange - applying
      transformations concurrently + unsynchronized using the same template
      instance appears to be yielding unexpected results i.e. if I
      synchronize transformations across the threads (synchronize on the
      template instance) I have no issues.

      First reported on the xalan users maillist - more details there:
      http://marc.theaimsgroup.com/?t=117251838500004&r=1&w=2

      I packaged up the test in a maven2 project:
      http://milyn.codehaus.org/xalan/xalan-test-v2.zip

      Attachments

        1. xalan-test-v2.zip
          63 kB
          Tom Fennelly
        2. XalanConcurrencyBug.zip
          6 kB
          RUG CMS Team, University of Groningen
        3. AVT.diff
          0.4 kB
          RUG CMS Team, University of Groningen

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            tomfennelly Tom Fennelly
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment