On Mon Dec 22 13:24:25 2008, Brett Zamir wrote:
In the Data Forms spec XEP-0004, what is an implementation to do for each type if there are empty fields?

Send an empty<value/>  or an empty<field/>?

An empty field would seem to make sense for lists at least, but I wasn't clear on what it should be for say, text-single.

<value/> is semantically equivalent to <value></value>, and therefore suggests an actual value of a zero-length string, rather than no value at all.

Which doesn't answer your question, of course, but it suggests that the answer might depend on what you mean by "empty fields".

Dave.
--
Dave Cridland - mailto:[email protected] - xmpp:[email protected]
 - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
 - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

Reply via email to