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

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
    • Xalan-interpretive
    • None

    Description

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

      See XALANJ-2285 for a test case. That issue reports a bug in XSLTC with the same test case.

      Attachments

        Issue Links

          Activity

            People

              kcormier Kevin Cormier
              zongaro@ca.ibm.com Henry Zongaro
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: