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

XSLTC doesn't handle xsl:param passed as second argument to key function correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.7.1
    • None
    • None

    Description

      If the second argument to the XSLT key function is a template parameter, XSLTC always converts it to a string. However, the value could be a node set, in which case the result of the function should be the union of applying the function to the string values of all the nodes in the node set. Converting the node set to a string only gets the result for the first node in the node set.

      Attachments

        1. j2292.out
          0.4 kB
          Henry Zongaro
        2. j2292.xml
          0.3 kB
          Henry Zongaro
        3. j2292.xsl
          0.7 kB
          Henry Zongaro

        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: