[jboss-jira] [JBoss JIRA] Created: (JBRULES-2787) Accept hexadecimal values in rule LHS

Uli Bubenheimer (JIRA) jira-events at lists.jboss.org
Wed Nov 10 20:17:01 EST 2010


Accept hexadecimal values in rule LHS
-------------------------------------

                 Key: JBRULES-2787
                 URL: https://jira.jboss.org/browse/JBRULES-2787
             Project: Drools
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: drools-compiler (expert), drools-docs-expert, drools-eclipse (expert), drools-guvnor
    Affects Versions: 5.1.1.FINAL
            Reporter: Uli Bubenheimer
            Assignee: Mark Proctor


It is not possible to use a hexadecimal value in the LHS of a rule.

The manual says: "All standard Java numeric primitives are supported." As hexadecimal values are standard Java numeric primitives, this could be considered not just a new feature, but a bug (documentation bug at least).

I found this issue first mentioned in the referenced user forum post from 2006; sadly, the poster did not create a JIRA issue as suggested, or at least I could not find one.

Example:

rule "bla"
when
Value( tag == 0x00080060 )     // ERROR!
then
//something
end

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list