]
Michael Anstis updated DROOLS-1718:
-----------------------------------
Summary: Accept hexadecimal values in rule LHS (was: Guided Editor: Accept
hexadecimal values in rule LHS)
Accept hexadecimal values in rule LHS
-------------------------------------
Key: DROOLS-1718
URL:
https://issues.jboss.org/browse/DROOLS-1718
Project: Drools
Issue Type: Bug
Reporter: Uli Bubenheimer
Priority: Minor
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