You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Dimitri Kshyvitski <di...@web.de> on 2012/11/15 10:06:24 UTC

[jxpath] Comparing with null values

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