[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: comments on draft-ietf-ldapext-ldap-java-api-11.txt



At 08:01 PM 10/2/00 -0700, Rob Weltman wrote:
>> >> Section 4.3.8:
>> >> --------------
>> >> Are attribute descriptions and attribute subtypes accounted for in
>> >> this?  For example, will a:
>> >>
>> >> attrSet.remove("name");
>> >>
>> >> call result in all "cn", "sn", "cn;lang-us" attributes being removed
>> >> from the LDAPAttributeSet?
>> >
>> >  Yes
>> 
>> This behavior is inconsistent with LDAP/X.500 subtyping.  attrSet
>> is modifying the attrSet and hence should be consistent with
>> the protocol modify... which would only delete "name" and not
>> its subtypes.
>
>  The operations defined in the API (for language-sensitive extraction of attributes) are operations on an object in memory at the client side, not LDAP protocol operations. There is no need and no benefit to having the operations on LDAPAttributeSet mimic the semantics of the search protocol operation. The intent of the language-sensitive operations in the API is to provide significant value to the user of the API, beyond what can be accomplished with search options. As I described in a message to this list on September 21, the semantics of the language-sensitive operations on LDAPAttributeSet were derived from a study of desired behavior in environments where localized and multi-language data is to be retrieved from a directory.

How do I remove "name" from the attrSet without removing it's subtypes?