directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu (JIRA)" <directory-...@incubator.apache.org>
Subject [jira] Resolved: (DIRLDAP-44) Invalid rule in filter grammar
Date Thu, 11 Aug 2005 22:02:54 GMT
     [ http://issues.apache.org/jira/browse/DIRLDAP-44?page=all ]
     
Alex Karasulu resolved DIRLDAP-44:
----------------------------------

    Fix Version: 0.9.2
     Resolution: Won't Fix

This is actually correct.  Note that I had to break apart the extensible grammar across productions.
 The COLONEQUALS value is actually being used to create an extensible object as can be seen
below:

item returns [LeafNode node]
{
    node = null;
}
    : node=simple | node=extensible |
    ( COLONEQUALS
        {
            selector.select( valueLexer );
            String value = ( ( String ) valueParser.value( null ) ).trim();
            node = new ExtensibleNode( null, value, null, false );
        }
    )
    ;


> Invalid rule in filter grammar
> ------------------------------
>
>          Key: DIRLDAP-44
>          URL: http://issues.apache.org/jira/browse/DIRLDAP-44
>      Project: Directory LDAP
>         Type: Bug
>     Reporter: Emmanuel Lecharny
>     Assignee: Alex Karasulu
>     Priority: Minor
>      Fix For: 0.9.2

>
> The Filter grammar contains an invalid production rule, in respect with RFC 2254 :
> item returns [LeafNode node]
> {
>     node = null;
> }
>     : node=simple | node=extensible |
>     ( COLONEQUALS
> ...
> COLONEQUALS is not valid. The RHS should be :
>     : node=simple | node=extensible

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


Mime
View raw message