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

count( $x |. ) != count( $x ) not working as expected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.7
    • 2.7.1
    • XPath-function
    • None
    • WinXP SP2, JRE 1.5.0_11

    Description

      <xsl:template match="a:b">
      <xsl:variable name="dontProcess" select="a:c|a:d|a:e"/>
      <xsl:apply-templates select="*[count( $dontProcess | . ) != count( $dontProcess )"/>
      </xsl:template>

      In my environment, processing occurs on nodes I would not expect.

      Attachments

        1. XALAN 2.7.0 Bug.zip
          2 kB
          Glenn L. Nielsen

        Issue Links

          Activity

            People

              Unassigned Unassigned
              glenn Glenn L. Nielsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: