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>

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

Reply via email to