[Standards] Relaxing XEP-0084 regarding multiple <info> elements
Peter Saint-Andre
stpeter at stpeter.im
Tue Dec 4 16:24:41 CST 2007
Jesus Cea wrote:
> If I can ask...
>
> "<info>" demands height/width... What if the avatar is a SVG file?.
Incorrect. It is RECOMMENDED, not REQUIRED:
http://www.xmpp.org/extensions/xep-0084.html#table-1
See also the schema:
<xs:element name='info'>
<xs:complexType>
<xs:simpleContent>
<xs:extension base='empty'>
<xs:attribute name='bytes'
type='xs:unsignedShort'
use='required'/>
==> <xs:attribute name='height'
==> type='xs:unsignedByte'
==> use='optional'/>
<xs:attribute name='id' type='xs:string' use='required'/>
<xs:attribute name='type' type='xs:string' use='required'/>
<xs:attribute name='url' type='xs:anyURI' use='optional'/>
==> <xs:attribute name='width'
==> type='xs:unsignedByte'
==> use='optional'/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.jabber.org/pipermail/standards/attachments/20071204/b9bf21e5/attachment-0001.bin
More information about the Standards
mailing list