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/25 11:09:54 UTC
[jira] Created: (DIRSERVER-1522) ACI parser has been too much
'relaxed'
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
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.
[jira] Assigned: (DIRSERVER-1522) ACI parser has been too much
'relaxed'
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny reassigned DIRSERVER-1522:
--------------------------------------------
Assignee: Emmanuel Lecharny
> 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.
[jira] Closed: (DIRSERVER-1522) ACI parser has been too much
'relaxed'
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny closed DIRSERVER-1522.
----------------------------------------
fixed
> 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.
[jira] Commented: (DIRSERVER-1522) ACI parser has been too much
'relaxed'
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882748#action_12882748 ]
Emmanuel Lecharny commented on DIRSERVER-1522:
----------------------------------------------
One more fix :
http://svn.apache.org/viewvc?rev=958043&view=rev
> 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.
[jira] Commented: (DIRSERVER-1522) ACI parser has been too much
'relaxed'
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882516#action_12882516 ]
Emmanuel Lecharny commented on DIRSERVER-1522:
----------------------------------------------
First fix : http://svn.apache.org/viewvc?rev=957878&view=rev
> 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.
[jira] Resolved: (DIRSERVER-1522) ACI parser has been too much
'relaxed'
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ 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.