| Ersin Er (JIRA) 2005-08-31, 7:45 am |
| [ http://issues.apache.org/jira/brows...action_12320679 ]
Ersin Er commented on DIRLDAP-50:
---------------------------------
The SubtreeSpecificationParser is now normalizing enabled (with the patch attached).
DnParser is instantiated in the antlr generated parser and antlr generated parsers' constructors are generally left as they are. So the code messed a bit to solve this tiny issue.
I've also added a test case for this new feature and it passes :-)
> Overload SubtreeSpecificationParser constructor to take a NameComponentNormalizer
> ---------------------------------------------------------------------------------
>
> Key: DIRLDAP-50
> URL: http://issues.apache.org/jira/browse/DIRLDAP-50
> Project: Directory LDAP
> Type: Improvement
> Components: Common
> Reporter: Alex Karasulu
> Fix For: 0.9.3
> Attachments: NormalizingEnabledSubtreeSpecificationPa
rser.patch
>
> The SubtreeSpecificationParser will need to normalize RDN values for exclusions. To do this it must delegate RDN normalization to the DnParser it uses. It must use the overloaded constructor on the DnParser which takes a NameComponentNormalizer as an
argument. This means the SubtreeSpecificationParser's constructor must be overloaded to accept a NameComponentNormalizer to hand off to the DnParser constructor.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|