OASIS Open Mailing List Archives  ·  All Lists  ·  kmip-interop-tech  ·  2011-07

kmip-interop-tech — archive

[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]

RE: Attribute index clarification


> get attributes <object> x-attr <- - should this return an empty list since index 1 was not specified? Get Attributes returns all attribute instances and does not take an Attribute Index as a value - only the attribute name is passed in the request. I've argued that it SHOULD support provision of the attribute index but that isn't what the specification states given that just the Attribute Name is passed in. What should be returned in for that context in pseudo-code would be: Name: x-attr Index: 1 Value: newvalue Index values are only allowed to not be present in the request if their value is 0; they may be present; but if absent then it is equivalent to the value being an index of 0. The text in Modify Attribute is a little inconsistent IMHO - in that the client is not allowed to specify an attribute index of 0 in the request if the attribute is not a multi-instance attribute. Personally I think line 1289 in the specification which contains that restriction should be deleted. Tim.

[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]