[ 
https://issues.apache.org/jira/browse/XALANJ-2390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513599
 ] 

Henry Zongaro commented on XALANJ-2390:
---------------------------------------

Hi, Glenn.  There were bugs in both the interpreter (XALANJ-2286) and compiler 
(XALANJ-2285) in Xalan-J 2.7.0 with using the idiom count($var | . ) != 
count($var) to test whether a particular node was a member of a node-set.  
Those bugs have been fixed in the Subversion source repository.

I believe the fixes for both should be available in the much delayed Xalan-J 
2.7.1 release.

> count( $x |. ) != count( $x ) not working as expected
> -----------------------------------------------------
>
>                 Key: XALANJ-2390
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2390
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: XPath-function
>    Affects Versions: 2.7
>         Environment: WinXP SP2, JRE 1.5.0_11
>            Reporter: Glenn D. Rasmussen
>         Attachments: XALAN 2.7.0 Bug.zip
>
>
> <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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to