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

count function applied to union as test of node identity is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.7
    • 2.7.1
    • XSLTC
    • None
    • PatchAvailable

    Description

      Using "count(.|$foo) = 1", where $foo is a node set consisting of one node, to test for node identity appears to be broken; it's always returning the value one. It worked in Xalan-J 2.7.0. It appears to have been broken with the patch for XALANJ-2097.

      Attachments

        1. j2285.out
          0.4 kB
          Henry Zongaro
        2. j2285.xml
          0.1 kB
          Henry Zongaro
        3. j2285.xsl
          0.9 kB
          Henry Zongaro
        4. patch.j2285.txt
          0.6 kB
          Henry Zongaro

        Issue Links

          Activity

            People

              zongaro@ca.ibm.com Henry Zongaro
              zongaro@ca.ibm.com Henry Zongaro
              Christine Li Christine Li
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: