You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Henry Zongaro (JIRA)" <xa...@xml.apache.org> on 2006/04/17 15:51:20 UTC

[jira] Created: (XALANJ-2292) XSLTC doesn't handle xsl:param passed as second argument to key function correctly

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

         Key: XALANJ-2292
         URL: http://issues.apache.org/jira/browse/XALANJ-2292
     Project: XalanJ2
        Type: Bug

    Versions: Latest Development Code, 2.7    
    Reporter: Henry Zongaro
 Assigned to: Henry Zongaro 


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Commented: (XALANJ-2292) XSLTC doesn't handle xsl:param passed as second argument to key function correctly

Posted by "Henry Zongaro (JIRA)" <xa...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XALANJ-2292?page=comments#action_12378691 ] 

Henry Zongaro commented on XALANJ-2292:
---------------------------------------

Patch for XALANJ-2295 includes a fix for this problem. 

> XSLTC doesn't handle xsl:param passed as second argument to key function correctly
> ----------------------------------------------------------------------------------
>
>          Key: XALANJ-2292
>          URL: http://issues.apache.org/jira/browse/XALANJ-2292
>      Project: XalanJ2
>         Type: Bug

>     Versions: Latest Development Code, 2.7
>     Reporter: Henry Zongaro
>     Assignee: Henry Zongaro
>  Attachments: j2292.out, j2292.xml, j2292.xsl
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Resolved: (XALANJ-2292) XSLTC doesn't handle xsl:param passed as second argument to key function correctly

Posted by "Henry Zongaro (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANJ-2292?page=all ]
     
Henry Zongaro resolved XALANJ-2292:
-----------------------------------

    Fix Version: Latest Development Code
     Resolution: Fixed

Applied patch attached to XALANJ-2295 to source repository.

> XSLTC doesn't handle xsl:param passed as second argument to key function correctly
> ----------------------------------------------------------------------------------
>
>          Key: XALANJ-2292
>          URL: http://issues.apache.org/jira/browse/XALANJ-2292
>      Project: XalanJ2
>         Type: Bug

>     Versions: Latest Development Code, 2.7
>     Reporter: Henry Zongaro
>     Assignee: Henry Zongaro
>      Fix For: Latest Development Code
>  Attachments: j2292.out, j2292.xml, j2292.xsl
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org