[Standards] XEP-0084: User Avatar - Invalid example?

Paul Schaub vanitasvitae at fsfe.org
Sat Aug 31 13:30:36 UTC 2019

Hello everyone!

XEP-0084 Example 4 shows a Metadata publication which does contain a
single info element which has type image/gif. However section §4.2.1
states in the last paragraph:

> The <metadata/> root element MAY contain more than one <info/>
element. Each <info/> element MUST specify metadata for the same avatar
image but in alternate content-types (e.g., "image/png", "image/gif",
and "image/jpeg"), and one of the formats MUST be "image/png" to ensure
interoperability. [...] Support for the "image/png" content type is


As I understand this section the example 4 is invalid, as it does not
contain a info element of type "image/png".

Are my assumptions right about this?

More information about the Standards mailing list