Re: zogi - birthDate attribute of Contact
Adam Tauno Williams <[email protected]> Mon, 09 Jun 2008 10:42:24 -0400
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <[email protected]> |
> > I'm not sure what to suggest. As Helge intimates, using 1001-01-01 > > is a > > hack, but then probably any solution to this is going to be a hack. > > What > > does OGO's original xml-rpc binding do with empty date values? > Good question, I think it would probably omit the value from the XML- > RPC record. Which of course the obvious solution! After all its a > record, null is not needed in this case anyways, just remove the > birthday key. Interesting; don't know why that possibility never occurred to me. > Except for uploads, in this case it could be represented as an empty > string, I would assume that a SOPE XML-RPC frontend deals well with > other datatypes (-isNotEmpty etc). Don't know how zOGi is implemented. Hmmm. I think it does. This might actually relate to a bug in the old XML-RPC code which made it impossible to blank a value; much to the consternation of my users. :) zOGI doesn't do anything specifically to the XML-RPC request or response, SOPE does all the coding/decoding automatically (unlike the old XML-RPC daemon which has more specific coders & decoders). zOGI just makes an NSDictionary and gives it to SOPE to serialize and send to the client. -- OpenGroupware.org XML-RPC [email protected] http://mail.opengroupware.org/mailman/listinfo/xmlrpc