You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <di...@incubator.apache.org> on 2005/07/02 12:14:10 UTC

[jira] Created: (DIRLDAP-44) Invalid rule in filter grammar

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
 Assigned to: Alex Karasulu 
    Priority: Minor


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


[jira] Closed: (DIRSERVER-226) Invalid rule in filter grammar

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRSERVER-226?page=all ]
     
Emmanuel Lecharny closed DIRSERVER-226:
---------------------------------------


invalid

> Invalid rule in filter grammar
> ------------------------------
>
>          Key: DIRSERVER-226
>          URL: http://issues.apache.org/jira/browse/DIRSERVER-226
>      Project: Directory ApacheDS
>         Type: Bug

>   Components: ldap
>     Versions: pre-1.0
>     Reporter: Emmanuel Lecharny
>     Assignee: Alex Karasulu
>     Priority: Minor
>      Fix For: pre-1.0

>
> 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


[jira] Resolved: (DIRLDAP-44) Invalid rule in filter grammar

Posted by "Alex Karasulu (JIRA)" <di...@incubator.apache.org>.
     [ 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