On Sun, 29 Nov 2026 at 18:50, snit--- via Standards <standards@xmpp.org> wrote:
Hello,
some stanzas I receive contain multiple fallback elements for the same namespace. For example, a client sends multiple files in one message, attaching an OOB and/or SFS element for each file, and then a fallback element for each OOB/SFS element contained in the body.
That seems wrong. Fallback was originally intended to be a note that the body was purely for fallback purposes - that is, that clients needn't display it if they understood the feature it referred to. Then it got adjusted to indicate that part of the body was for fallback purposes. If clients don't understand the feature, just display the whole body. If they do, then edit the message.
This tells the recipient _where_ a fallback is, as well as _which namespace_ it applies to, but not _which element_ of the namespace that the fallback corresponds to. Is there an established rule for disambiguating which fallback applies to which of the multiple elements it could apply to?
I don't think this is needed, though. Either the client understands (say) OOB, in which case it applies the edit, otherwise do not. Multiple fallbacks for the same feature don't make sense. Dave.