[Standards] Bits of Binary 'type' REQUIRED
stpeter at stpeter.im
Thu Jun 17 18:39:45 UTC 2010
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'.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6820 bytes
Desc: S/MIME Cryptographic Signature
More information about the Standards