[jdev] XHTML-IM XEP implementation

Norman Rasmussen norman at rasmussen.co.za
Thu Jan 4 15:01:42 CST 2007


True, so we need to remind client developers that it's significant in
the html node too, and that it's the job of the _receiving_ client to
ensure that the whitespace is preserved (not the sending client)

By making it a receiving job, we keep the bandwidth down :-)

On 1/4/07, Peter Saint-Andre <stpeter at jabber.org> wrote:
> Whitespace is significant in the <body/> element, no?
>
> Norman Rasmussen wrote:
> > What about just making whitespace significant in the xmpp spec?
> >
> > i.e. most client will want to replace space with nbsp before
> > displaying to the user, or maybe you can set a flag on the html
> > renderer
> >
> > On 12/15/06, Bernhard Zwischenbrugger <bz at datenkueche.com> wrote:
> >> Depends on encoding
> >> &nbsp; is encoding="us-ascii"
> >> > Is it possible to use &nbsp ?
> >> >
> >> >
> >> UTF-8 does not allow &nbsp;
> >> use &#160;
> >>
> >> Bernhard
> >>
> >>
>
>
>


-- 
- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/



More information about the JDev mailing list