Marc Boorshtein wrote:
I wanted to get an opinion from the other java ldap projects. Should
the toString() method of a class that represents a DN return null or
an empty string? I would think an empty string but JLDAP returns
null. Anyone have an opinion on the matter?
Thanks
Marc
RFC 4514 states :
2.1. Converting the RDNSequence
If the RDNSequence is an empty sequence, the result is the empty or
zero-length string.
Which means that a DN should be the empty String, ie : "", not null.
IMHO and as far as I understand the RFC :)
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org