commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimitri Kshyvitski" <dimitrikshyvit...@web.de>
Subject [jxpath] Comparing with null values
Date Thu, 15 Nov 2012 09:06:24 GMT
Hi,
 
I have some problems during evaluation of conditions with JXPath if attributes are null.
 
Following processing looks fine:
Integer intValue = null;
context.getValue("intValue = '' ") delivers true

But in this case i would expect also true:
BigDecimal bcdValue = null;
context.getValue("bcdValue = '' ") delivers false
 
I consider it as an error. Please let me know your opinion.
 
Thanks
Best regards


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message