You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matt Benson (JIRA)" <ji...@apache.org> on 2011/06/08 00:54:59 UTC
[jira] [Closed] (JXPATH-148) false and false returns true
[ https://issues.apache.org/jira/browse/JXPATH-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Benson closed JXPATH-148.
------------------------------
> false and false returns true
> ----------------------------
>
> Key: JXPATH-148
> URL: https://issues.apache.org/jira/browse/JXPATH-148
> Project: Commons JXPath
> Issue Type: Bug
> Affects Versions: 1.3
> Environment: WindowsXP
> Reporter: Johannes Stelzer
> Priority: Blocker
> Attachments: Issue148Test.java
>
>
> Map<String, Object> map = new HashMap<String, Object>();
> map.put("h", false);
> JXPathContext c = JXPathContext.newContext(map);
> System.out.println(c.getValue("h and h "));
> Prints: true !!! it should print false!
> System.out.println(c.getValue("h = true() and h = true()")); although prints correctly: false
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira