W3C home > Mailing lists > Public > www-dom@w3.org > April to June 1999

Re: RFC: White Space Handling In XML Parsing

From: John Cowan <cowan@locke.ccil.org>
Date: Thu, 20 May 1999 13:00:06 -0400
Message-ID: <37443F96.94A32E04@locke.ccil.org>
To: www-dom@w3.org
Steven Champeon wrote:

> <a href="http://example.com">
> <img src="/images/example.gif">
> </a>
> 
> and when it displays in the browser, there is a blue underline tail
> hanging off the bottom right edge of the graphic, because the whitespace
> is reduced to one space, which is then underlined.

That's a rendering bug.  SGML applications are not even supposed to
see such newlines (parsers should drop one just after a start tag and
one just before an end-tag).  This doesn't apply to XML parsers,
which must return *all* character data.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)
Received on Thursday, 20 May 1999 13:00:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:46 GMT