diff options
Diffstat (limited to 'slixmpp/plugins/xep_0122')
-rw-r--r-- | slixmpp/plugins/xep_0122/stanza.py | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/slixmpp/plugins/xep_0122/stanza.py b/slixmpp/plugins/xep_0122/stanza.py index 9f1c423d..e038a558 100644 --- a/slixmpp/plugins/xep_0122/stanza.py +++ b/slixmpp/plugins/xep_0122/stanza.py @@ -7,15 +7,18 @@ class FormValidation(ElementBase): Example: - <field var='evt.date' type='text-single' label='Event Date/Time'> - <validate xmlns='http://jabber.org/protocol/xdata-validate' - datatype='xs:dateTime'/> - <value>2003-10-06T11:22:00-07:00</value> - </field> + :: + + <field var='evt.date' type='text-single' label='Event Date/Time'> + <validate xmlns='http://jabber.org/protocol/xdata-validate' + datatype='xs:dateTime'/> + <value>2003-10-06T11:22:00-07:00</value> + </field> Questions: - Should this look at the datatype value and convert the range values as appropriate? - Should this stanza provide a pass/fail for a value from the field, or convert field value to datatype? + + * Should this look at the datatype value and convert the range values as appropriate? + * Should this stanza provide a pass/fail for a value from the field, or convert field value to datatype? """ namespace = 'http://jabber.org/protocol/xdata-validate' |