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 2004/11/18 23:18:58 UTC

[jira] Commented: (XALANJ-1938) key() and id() results are incorrect, works with Xalan

     [ http://nagoya.apache.org/jira/browse/XALANJ-1938?page=comments#action_55638 ]
     
Henry Zongaro commented on XALANJ-1938:
---------------------------------------

It looks like the id() version of this bug has been fixed under bug report XALANJ-1864.[1]  That fix is available in CVS, but has not yet been included in a release of Xalan-Java.

I believe I can apply an analogous fix for the key() problem.

[1] http://nagoya.apache.org/jira/browse/XALANJ-1864

> key() and id() results are incorrect, works with Xalan
> ------------------------------------------------------
>
>          Key: XALANJ-1938
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-1938
>      Project: XalanJ2
>         Type: Bug
>   Components: XSLTC
>     Versions: 2.6
>  Environment: Linux, Sun-JRE 1.3.1_03
>     Reporter: Stephan Feder
>     Priority: Critical
>  Attachments: test.xml, test.xsl
>
> key() and id() give wrong results with XSLTC.
> Testcase (to be attached):
> XSLTC (java org.apache.xalan.xslt.Process -XSLTC -IN test.xml -XSL test.xsl -PARAM access none -PARAM user one) outputs "none" which is incorrect.
> Xalan (java org.apache.xalan.xslt.Process -IN test.xml -XSL test.xsl -PARAM access none -PARAM user one) outputs "one" which is correct.
> The bug seems to be related to using one xsl:key from various key() functions.
> The real-world transformation this testcase was derived from fails in the same way if id() is used instead of key().
> Priority for this bug is set to critical: With this bug transformations leak information as there is no indication of malfunctioning, and not only is information dropped but information is shown that is not intended to be shown.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report 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