On 6/16/10 8:38 PM, Paul Aurich wrote:
> http://xmpp.org/extensions/xep-0231.html#format indicates that the
> 'type' attribute is REQUIRED on the <data/> element, as does the XML
> schema section, but in the examples, it's only included on the returned
> data (which is sensible, a requesting client cannot know what the data
> actually is).
> 
> My opinion is that it's only required on the iq type=result, 

It is REQUIRED if the <data/> element is non-empty. It has no meaning if
the <data/> element is empty (e.g., in an IQ-get).

> but I don't
> have good ideas on an updated schema/text to reflect that.

There's no good way to represent that in XML schema, so we'll simply
change 'required' to 'optional'.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to