[Standards] Call for Experience: Advancement of XEP-0071 (XHTML-IM) to Final

Sergey Dobrov Binary at JRuDevels.org
Fri Sep 28 12:23:19 UTC 2012


On 09/28/2012 06:35 AM, Peter Saint-Andre wrote:
> On 9/27/12 9:49 AM, Sergey Dobrov wrote:
>> On 09/27/2012 09:38 PM, Peter Saint-Andre wrote:
>>> On 8/22/12 2:13 PM, Kevin Smith wrote:
>>>> On Wed, Aug 22, 2012 at 8:56 PM, Joe Hildebrand (jhildebr) 
>>>> <jhildebr at cisco.com> wrote:
>>>>> On 8/22/12 10:33 AM, "Matthew Miller" 
>>>>> <linuxwolf at outer-planes.net> wrote:
>>>>>
>>>>>> I agree with Sergey.  If you received XHTML-IM, then any
>>>>>> other rich text transform ought to be disabled/bypassed.
>>>>>
>>>>> What about URLs that are not in <a/> elements?
>>>
>>>> I remember us changing the XEP years ago to explicitly call
>>>> this out. Links should be linkified at the sender end, not by
>>>> the recipient, for XHTML-IM.
>>>
>>> Yes, business rule #10 in XEP-0071 says:
>>>
>>> "When rendering XHTML-IM content, a user agent SHOULD NOT render
>>> as a hyperlink text that is not structured via the <a/> element
>>> from the Hypertext Module; therefore if the sender wishes text to
>>> be linked, the sending user agent MUST represent the text using
>>> the <a/> element and appropriate attributes."
>>>
>>> However, that applies only to anchors. Do we need to broaden the
>>> rule to cover all HTML elements? If so, I suggest:
>>>
>>> "When rendering XHTML-IM content, a receiving user agent MUST
>>> NOT render as XHTML any text that was not structured by the
>>> sending user agent using XHTML elements and attributes; if the
>>> sender wishes text to be structured (e.g., for certain words to
>>> be emphasized or for URIs to be linked), the sending user agent
>>> MUST represent the text using the appropriate XHTML elements and
>>> attributes."
> 
>> Another bigger problem is smilies. It's not obvious when the
>> client should render smilies and when not. I'd prefer to forbid any
>> text-based smilies in the XHTML-IM content
> 
> Some of us actually prefer textual emoticons. :)

Actually, me too :) But them have some problems to parse here, it adds
some extra <img> tags actually in the mark up. :) So I'd prefer client
to replace textual smilies BEFORE send them to the network. Obviously,
the plain text representation of a message will be unchanged.

> 
> Feel free to look at the old XEP-0038 for further considerations.
> 
>> but such way we really need a standardized way to attach images to
>> a body.
> 
> IMHO that would be XEP-0231.

Yes, it seems to be pretty good here but it will be impossible to read
images when your competitor is offline that can be nasty. But I don't
know how to solve the problem anyway.

> 
> Peter
> 
> 

-- 
With best regards,
Sergey Dobrov,
XMPP Developer and JRuDevels.org founder.

-- 
Sent from my Gentoo GNU/Linux PC.

With best regards,
Sergey Dobrov,
XMPP Developer and JRuDevels.org founder.

xmpp:binary at jrudevels.org



More information about the Standards mailing list