Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 64555 invoked from network); 18 Oct 2005 22:51:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Oct 2005 22:51:36 -0000 Received: (qmail 13156 invoked by uid 500); 18 Oct 2005 22:51:36 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 12956 invoked by uid 500); 18 Oct 2005 22:51:34 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 12945 invoked by uid 99); 18 Oct 2005 22:51:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2005 15:51:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [216.132.69.36] (HELO bridgemail.bridgestreaminc.com) (216.132.69.36) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2005 15:51:34 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5D436.70FB0A30" Subject: DnParser Date: Tue, 18 Oct 2005 15:52:22 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: DnParser Thread-Index: AcXUNpnV6sltkKAqTVGOXWkiNd4tZw== From: "Gianmaria Clerici" To: "Apache Directory Developers List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C5D436.70FB0A30 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable NormalizationService will use org.apache.ldap.common.name.DnParser to normalize a Name. =20 For instance, if my Name looks like this: ou=3DSub Production V,bsiViewName=3DDirect Report View =20 It will return this: ou=3Dsub production v,bsiViewName=3Ddirect report view =20 As you can see it will replace the 2 spaces before the V with one space. =20 Is this the correct behavior ? =20 I will need to look up an object using the normalized value (down in my partition code), but it's a bit more challenging if the spaces have been, partially, removed. =20 Thanks =20 =20 ------_=_NextPart_001_01C5D436.70FB0A30 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

NormalizationService will use = org.apache.ldap.common.name.DnParser to normalize a Name.

 

For instance, if my Name looks like = this:

ou=3DSub Production  V,bsiViewName=3DDirect = Report View

 

It will return this:
ou=3Dsub production v,bsiViewName=3Ddirect report = view

 

As you can see it will replace the 2 spaces before = the V with one space.

 

Is this the correct behavior = ?

 

I will need to look up an object using the normalized = value (down in my partition code), but it’s a bit more challenging if = the spaces have been, partially, removed.

 

Thanks

 

 

------_=_NextPart_001_01C5D436.70FB0A30--