Ticket #18 (new defect)
Wrong handling of dataforms.Option "values" field?
| Reported by: | http://openid.xmpp.za.net/grzyw@… | Owned by: | jajcus |
|---|---|---|---|
| Priority: | major | Component: | pyxmpp |
| Keywords: | Cc: |
Description
According to XEP-004, Option elements can't have more than 1 <value> element. pyxmpp uses "values" argument to Option constructor to create multiple <value> elements, which has no use and is against the specification. Passing a single-element list containing a string is not intuitive and error prone. Passing a "vaa" string produces output like:
<option label="View page info" > <value>v</value> <value>a</value> <value>a</value> </option>
Attachments
Change History
Note: See
TracTickets for help on using
tickets.