Empty node text comparisons failing ----------------------------------- Key: XALANJ-2379 URL: https://issues.apache.org/jira/browse/XALANJ-2379 Project: XalanJ2 Issue Type: Bug Affects Versions: 2.7 Environment: Windows XP SP2, Eclipse 3.2.2 (build M20070212-1330) Reporter: Joe Priority: Critical
When a text comparison on an empty node is performed, it never returns true. For example, if I were to use this variable: <xsl:variable name="testcase1" select="text()=''"/> this will always return false. Yet, if I do: <xsl:variable name="testcase1" select="string-length(text())=0"/> This returns the correct result. I will attach a test case to this bug report. -- 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]