[Standards] Call for Experience: Advancement of XEP-0071 (XHTML-IM) to Final
binary at jrudevels.org
Mon Oct 8 20:58:55 UTC 2012
On 10/09/2012 12:04 AM, Kozlov Konstantin wrote:
>>>> 1. <img /> element without "src" attribute at all, which "alt" attribute contains textual representation of the smilie, so translator either translate it and display smilie image, or display alternative text if it cannot translate (or do not want to translate it at all, eg. smilie tranlation is diabled).
>>> Unfortunately, we have to be compatible with XHTML, I think :)
> Well, I don't see any incompatibility with XHTML here.
src attribute is required for img tag in XHTML:
<xs:attribute name="src" use="required" type="URI"/>
>>> 2. <img /> element with "src" attribute, containing URL with special scheme (eg. "smilie:"), whith path, containing properly escaped textual representation of the smilie.
>> Don't know how complicated a process of inventing a new URI schema is.
>> But I actually think that we can use real images with alternate text
>> which contains text smile representation.
> Well... this way just breaks the main advantage of text-based smilies: low traffic. Why do we need smilies at all, if we can just send embedded images anyway?
Actually, I don't think that it's required to say about lightweight when
talking about XHTML-IM ;) These clients that don't want to retrieve much
data from the network can just hide xhtml-im from their disco-features.
> With my best regards,
With best regards,
XMPP Developer and JRuDevels.org founder.
More information about the Standards