Apache Directory Project - [jira] Commented: (DIRLDAP-50) Overload SubtreeSpecificationParser constructor to take

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > August 2005 > [jira] Commented: (DIRLDAP-50) Overload SubtreeSpecificationParser constructor to take





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Commented: (DIRLDAP-50) Overload SubtreeSpecificationParser constructor to take
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


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com