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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: XalanC
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: