Re: [xml] How is ignorableWhitespace defined?

On Mon, Sep 03, 2001 at 02:13:32PM -0400, Daniel Veillard wrote:
mozilla and konqueror renders space between "FOO" and "BAR".

  doesn't help me at all, if you told me *WHY* they do so then
I may make some progress.

HTML 0.9 (i.e. what was current when Mosaic was written) had,
in effect,
so that P separated paragraphs.

This means that BODY could contain PCDATA.

      <H1>My Socks</H1>
      Woolen Argyle socks are very nice.
      They are warm and they hug me.

So, in the absence of a DOCTYPE, the browsers can't throw away
white space here.  Insetad, they collapse it to a single space.


Liam Quin - Barefoot in Toronto - liam holoweb net -
Author, Open Source XML Database Toolkit, Wiley August 2000
Co-author: The XML Specification Guide, Wiley 1999; Mastering XML, Sybex 2001

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]