I'll push out a new version soon. Just a few comments as I work...
Peter Saint-Andre wrote:
Pavel Simerda wrote:Example 2. A message with included data ... Once the data is provided, a subsequent message in the same session can refer to the data again without including the data itself. Example 3. A message with referenced dataExample 3 could be made a primary example (without <data/> element) and Example 2 might just show the possibility to include the data if desired and therefore follow the current "Example 3".Well, here the image is so small that I don't see the harm in sending it.
I've changed that as you suggest.
* What's the alt attribute then for? If we don't use empty <data/> elements at all (except the occasional empty files), then the 'alt' facility should be provided by the protocol that is using the URL not <data/> elements themselves as it is done in HTML-IM.I think so.
I've removed it from the next version.
Note: similar examples are used in XEP-0221: Data Forms Media ElementYes that needs to be cleaned up.
I'll work on an updated XEP-0221 next. /psa
smime.p7s
Description: S/MIME Cryptographic Signature
