Problem with XPath comparison operator '>=' ? [message #26153] |
Thu, 12 July 2007 06:02  |
Eclipse User |
|
|
|
Originally posted by: guillaume.riby.fr.ibm.com
Hi guys,
I encountered a problem in some tests i'm doing, using <c:if> tag. I'm
pretty sure that the problem comes from my syntax but i cannot find where,
could you help me please?
Here is my Jet template :
##### TEST PART BEGIN #####
<c:if test="1 >= 1">
TEST #1 :: 1 >= 1
</c:if>
<c:if test="not(not(1 >= 1))">
TEST #2 :: not(not(1 >= 1))
</c:if>
<c:if test="(1 > 1) or (1 = 1)">
TEST #3 :: (1 > 1) or (1 = 1)
</c:if>
<c:if test="not(1 < 1)">
TEST #4 :: not(1 < 1)
</c:if>
##### TEST PART END #####
These 4 equivalent tests actually don't give the same result. What is
generated is :
##### TEST PART BEGIN #####
TEST #3 :: (1 > 1) or (1 = 1)
TEST #4 :: not(1 < 1)
##### TEST PART END #####
Regards.
Guillaume Riby
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05977 seconds