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)" <ji...@apache.org> on 2010/06/26 01:08:50 UTC

[jira] Resolved: (DIRSERVER-1522) ACI parser has been too much 'relaxed'

     [ https://issues.apache.org/jira/browse/DIRSERVER-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSERVER-1522.
------------------------------------------

    Resolution: Fixed

Done

> ACI parser has been too much 'relaxed'
> --------------------------------------
>
>                 Key: DIRSERVER-1522
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1522
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.7
>            Reporter: Emmanuel Lecharny
>            Assignee: Emmanuel Lecharny
>             Fix For: 2.0.0-RC1
>
>
> We have relaxed the grammar a bit too much. At some point, it leads to some bad semantic. An example :
> ItemFirst, as described by X.501 :
> itemFirst [0] SEQUENCE {
>     protectedItems ProtectedItems,
>     itemPermissions SET OF ItemPermission }
> Our grammar :
> ItemFirst :
>     ID_itemFirst ( SP )* COLON ( SP )*
>         OPEN_CURLY ( SP )*
>             ( 
>               protectedItems ( SP )*
>                 SEP ( SP )* itemPermissions
>             | // relaxing
>               itemPermissions ( SP )*
>                 SEP ( SP )* protectedItems
>             )
>         ( SP )* CLOSE_CURLY
> It does not make sense to allow ItemPermissions to be put before the protectedItems.
> It should not have an impact on the server to remove those relaxed parts.

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