[Standards-JIG] Re: Pubsub/PEP node creation with config

Magnus Henoch mange at freemail.hu
Tue Oct 17 21:46:47 UTC 2006


Indrek Juhani <indrek at voipster.com> writes:

> I do not understand from the XEP what relation the <option/> 
> element has to 'list-single' type of field. Is <option/> 
> mandatory (in submit) or not?

<option/> should not be used when submitting; in that case, only use
<value/>.  XEP-0163 should be corrected.

This might seem like an asymmetry in XEP-0004 (forms to fill out and
submitted forms having different elements), but it really isn't.  In
both cases, the current value is inside the bare <value/> element, and
the possible values are in <option/> elements.  Of course, it doesn't
make sense to specify which options are valid when submitting a form,
so the <option/> elements are dropped in that case.

-- 
Magnus
JID: legoscia at jabber.cd.chalmers.se




More information about the Standards mailing list