Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-568

Pattern "/" does not match the pseudo root document of a node-set obtained from a result-tree fragment via exsl:node-set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9
    • None
    • XalanC
    • None
    • win2k on ix86

    Description

      A template with a match expression equal to "/" is not executed for the pseudo root document
      of a node-set that is obtained from a result-tree fragment via exsl:node-set.
      If you execute the attached stylesheet with any XML document as input (actual input does not matter), you obtain:
      "NOT OK: Did not find the root of the result-tree fragment."
      instead of the expected:
      "OK: Found the root of the result-tree fragment."
      It is annoying, because the "built-in" template rule for "/" is executed instead, and it does not forward parameters.
      FYI, the same stylesheet run with saxon8.4 behaves as I expected.

      Attachments

        1. patch.txt
          0.6 kB
          David N Bertoni
        2. bug-result-tree-fragment.xslt
          1 kB
          Alain Le Guennec

        Activity

          People

            dbertoni David N Bertoni
            aleguenn@free.fr Alain Le Guennec
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: