commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Stelzer (JIRA)" <>
Subject [jira] Created: (JXPATH-148) false and false returns true
Date Mon, 15 Nov 2010 19:46:13 GMT
false and false returns true

                 Key: JXPATH-148
             Project: Commons JXPath
          Issue Type: Bug
    Affects Versions: 1.3
         Environment: WindowsXP
            Reporter: Johannes Stelzer
            Priority: Blocker

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 shoult print false!

System.out.println(c.getValue("h = true() and h = true()")); although prints -correctly-:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message