You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (JIRA)" <ji...@apache.org> on 2009/04/01 00:21:50 UTC

[jira] Created: (DIRSHARED-32) Create Antlr based DN parser

Create Antlr based DN parser
----------------------------

                 Key: DIRSHARED-32
                 URL: https://issues.apache.org/jira/browse/DIRSHARED-32
             Project: Directory Shared
          Issue Type: Sub-task
            Reporter: Stefan Seelmann
            Assignee: Stefan Seelmann


At ApacheCon we discussed to rewrite the complex DN parser using Antlr because we have some issues with the current parser, see DIRSERVER-1311 and DIRSERVER-1285.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSHARED-32) Create Antlr based DN parser

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSHARED-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSHARED-32:
---------------------------------------

    Affects Version/s:     (was: 0.9.13)
                       0.9.14
        Fix Version/s:     (was: 0.9.14)
                       0.9.15

> Create Antlr based DN parser
> ----------------------------
>
>                 Key: DIRSHARED-32
>                 URL: https://issues.apache.org/jira/browse/DIRSHARED-32
>             Project: Directory Shared
>          Issue Type: Sub-task
>    Affects Versions: 0.9.14
>            Reporter: Stefan Seelmann
>            Assignee: Stefan Seelmann
>             Fix For: 0.9.15
>
>
> At ApacheCon we discussed to rewrite the complex DN parser using Antlr because we have some issues with the current parser, see DIRSERVER-1311 and DIRSERVER-1285.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSHARED-32) Create Antlr based DN parser

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSHARED-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSHARED-32:
---------------------------------------

    Affects Version/s: 0.9.13
        Fix Version/s: 0.9.14

> Create Antlr based DN parser
> ----------------------------
>
>                 Key: DIRSHARED-32
>                 URL: https://issues.apache.org/jira/browse/DIRSHARED-32
>             Project: Directory Shared
>          Issue Type: Sub-task
>    Affects Versions: 0.9.13
>            Reporter: Stefan Seelmann
>            Assignee: Stefan Seelmann
>             Fix For: 0.9.14
>
>
> At ApacheCon we discussed to rewrite the complex DN parser using Antlr because we have some issues with the current parser, see DIRSERVER-1311 and DIRSERVER-1285.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSHARED-32) Create Antlr based DN parser

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSHARED-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695725#action_12695725 ] 

Stefan Seelmann commented on DIRSHARED-32:
------------------------------------------

Just for clarification: The parser should still support LDAPv2 DN syntax (i.e. quoted values) as specified in RFC1779 and RFC2253, right?

> Create Antlr based DN parser
> ----------------------------
>
>                 Key: DIRSHARED-32
>                 URL: https://issues.apache.org/jira/browse/DIRSHARED-32
>             Project: Directory Shared
>          Issue Type: Sub-task
>            Reporter: Stefan Seelmann
>            Assignee: Stefan Seelmann
>
> At ApacheCon we discussed to rewrite the complex DN parser using Antlr because we have some issues with the current parser, see DIRSERVER-1311 and DIRSERVER-1285.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DIRSHARED-32) Create Antlr based DN parser

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSHARED-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann resolved DIRSHARED-32.
--------------------------------------

    Resolution: Fixed

Fixed a while ago:
  http://svn.apache.org/viewvc?view=rev&revision=765066
  http://svn.apache.org/viewvc?view=rev&revision=762998


> Create Antlr based DN parser
> ----------------------------
>
>                 Key: DIRSHARED-32
>                 URL: https://issues.apache.org/jira/browse/DIRSHARED-32
>             Project: Directory Shared
>          Issue Type: Sub-task
>    Affects Versions: 0.9.14
>            Reporter: Stefan Seelmann
>            Assignee: Stefan Seelmann
>             Fix For: 0.9.15
>
>
> At ApacheCon we discussed to rewrite the complex DN parser using Antlr because we have some issues with the current parser, see DIRSERVER-1311 and DIRSERVER-1285.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSHARED-32) Create Antlr based DN parser

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSHARED-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695727#action_12695727 ] 

Emmanuel Lecharny commented on DIRSHARED-32:
--------------------------------------------

Not necessarily. What we agreed on was that we should have a 2 steps parser :
- during the first step, wse try to parse the DN considering that it's using only ASCII chars, with no special chars and LDAP V2 syntax.
- if we get an exception during this step, then we try to decode the DN using another parser, which covers all the possible cases.

We expect that the first parser will cover 99% of all the parsed DN, and that it will be faster than the current parser. Of course, when we will fall into the other parser, then the cost will increase a lot.

The first step might covers multiple AVA in RDN (ie cn=tom+sn=smith), but not much more (ie, forget about quotes surrounding the AVAs, or special chars in the middle of the DN)

Last, not least, the first parser must be hand written, in order to be as fast as possible. 

> Create Antlr based DN parser
> ----------------------------
>
>                 Key: DIRSHARED-32
>                 URL: https://issues.apache.org/jira/browse/DIRSHARED-32
>             Project: Directory Shared
>          Issue Type: Sub-task
>            Reporter: Stefan Seelmann
>            Assignee: Stefan Seelmann
>
> At ApacheCon we discussed to rewrite the complex DN parser using Antlr because we have some issues with the current parser, see DIRSERVER-1311 and DIRSERVER-1285.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.