In the Openfire implementation of Pubsub, the following <field/> is
returned in a form (for default configuration of nodes):
<field var="pubsub#itemreply" type="list-single" label="Select
entity that should receive replies to items"><value>owner</value></field>
All of the other <field/>'s encapsulate the <value/> inside of
<option/>. Should that be a standard requirement for the list-single
type? I presume the behavior here is that with only one item (obviously
the same as the default), the <option/> is being dropped, but should
that be the case?
The Data Form (XEP-0004) spec states "<option/> -- One of the options in
a field of type "list-single" or "list-multi"", but I'm not clear that
this requires the <option/> to be there in the first place... It might
be inferable as such, however...
Brett
- [Standards] list-single <option/> required? Brett Zamir
-