directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gianmaria Clerici" <gcler...@bridgestream.com>
Subject DnParser
Date Tue, 18 Oct 2005 22:52:22 GMT
NormalizationService will use org.apache.ldap.common.name.DnParser to
normalize a Name.

 

For instance, if my Name looks like this:

ou=Sub Production  V,bsiViewName=Direct Report View

 

It will return this:
ou=sub production v,bsiViewName=direct 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

 

 


Mime
View raw message