[Standards] Proposed XMPP Extension: Content Types in Messages

Ashley Ward ashley.ward at surevine.com
Wed Jan 20 08:57:55 UTC 2016


> On 19 Jan 2016, at 19:41, Matthieu Rakotojaona <matthieu.rakotojaona at gmail.com> wrote:
> 
> It looks like this XEP hands messages that have a single <body>
> element, but the RFC says you can have multiple elements, each with
> its own xml:lang. Is it expected that this works only with single
> <body> elements ?
> 
> Side question: are there uses of multiple <body> elements with
> different xml:lang ?

Very good point. If there are multiple <body/> elements in different languages then they should be in the same format, so I assume the type hint should apply to all of them. Maybe update the EXP to clarify?

—
Ash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4127 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/standards/attachments/20160120/cc65bad2/attachment-0001.bin>


More information about the Standards mailing list