[Standards-JIG] Re: XHTML-IM clarification

Peter Saint-Andre stpeter at jabber.org
Wed Sep 15 03:52:52 UTC 2004


In article <20040915033731.GI25704 at dev.xaoza.net>, trejkaz at xaoza.net 
wrote:

> At Tue, Sep 14, 2004 at 10:14:07AM -0600, Peter Saint-Andre wrote:
> > This explained in JEP-0071. According to the XMPP specs (Section 2.1.2.2 
> > of XMPP-IM), a message stanza may contain more than one <body/> element 
> > (but only if each one possesses a distinct value of the 'xml:lang' 
> > attribute). So we need multiple XHTML <body/> elements to mirror the 
> > XMPP usage.
> 
> True enough.  However, we could have equally well had:
> 
>     <body xmlns="http://jabber.org/protocol/xhtml-im" xml:lang="en">
>         <p>...</p>
>     </body>
>     <body xmlns="http://jabber.org/protocol/xhtml-im" xml:lang="de">
>         <p>...</p>
>     </body>
> 
> That would  exactly  mirror the XMPP usage, as they would be at the same level
> as the XMPP bodies.

Well, that's water under the bridge at this point. IIRC, in JEP-0071 I 
was trying to be consistent with the earlier (pre-JEP) proposal.

/psa




More information about the Standards mailing list