Recall that for API-M, the meaning of a null parameter depends on the
type of request.  If it's an add, it generally means, "no value".  If it's a
modify, it means "no change".

I think what you're suggesting is that by passing "" as the objectLabel in
apim.modifyObject, one should be able to "un-set" the value.  And that the
internal representation of "no value" should really be null (so various code,
including the RI, doesn't have to check for null *or* length() ==0).  If
so, I agree with the change and I think it's worth considering the same
change for other object/datastream fields.

- Chris

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to