[jboss-jira] [JBoss JIRA] Updated: (JBRULES-965) Unexpected token 'not'

Brian Enderle (JIRA) jira-events at lists.jboss.org
Tue Jul 3 10:41:57 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBRULES-965?page=all ]

Brian Enderle updated JBRULES-965:
----------------------------------

    Attachment: Address.dsl

Test File

> Unexpected token 'not' 
> -----------------------
>
>                 Key: JBRULES-965
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-965
>             Project: JBoss Rules
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Drl Parser/Builder
>    Affects Versions:  4.0.0.MR3
>         Environment: Win XP, Drools MR3 (Snapshot from 7/2/2007)
>            Reporter: Brian Enderle
>         Assigned To: Mark Proctor
>            Priority: Minor
>         Attachments: Address.drl, Address.dsl, Address.java
>
>
> The following rule works in a DRL file 
> $i : Address( city not matches "[ a-zA-Z]" )
> But when entered into a DSL file an "Unexpected token 'not'" error is thrown.
> DRL file:                                                           DSL entry:
> There is a Address                                        $i : {Instance}()
>   - city is not alpha only                                  {field} not matches "[ a-zA-Z]"

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

        



More information about the jboss-jira mailing list