directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Chu <...@symas.com>
Subject Re: Empty DN ("") String Value?
Date Tue, 27 Nov 2007 04:07:21 GMT
Jon Roberts wrote:
> Since there is a no-argument constructor DN(), perhaps the original
> thinking was that null and the rootDSE "" are synonymous. On the other
> hand, the existence of this constructor makes as much sense to me as the
> redundant addRDN() and addRDNToFront() methods (ie. none at all). I
> suppose *somebody* may want to build a DN instance iteratively, but I
> would consider it easier to do so concatenating strings for submission
> to the more relevant constructor with argument.

Sounds like someone was making a (perhaps futile) stab at instilling the 
concept that DNs are honest-to-god sequences of structured data. A good goal, 
at least.

> This exercise in software archeology underscores a major reason I think
> JLDAP is latent: a lot of cruft but nobody of original authorship to
> explain or clean it up. As for the rest of us, if nobody touches it
> nobody breaks it, so there it sits. My 2c.

Keep putting in your 2c. It obviously needs more feedback from more people 
with real operational experience using it.
-- 
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP     http://www.openldap.org/project/

Mime
View raw message