W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2007

[whatwg] xml:space

From: liorean <liorean@gmail.com>
Date: Tue, 23 Jan 2007 22:48:38 +0100
Message-ID: <cee13aa30701231348l2643b6fbv1effa18592e64f39@mail.gmail.com>
On 1/23/07, Henri Sivonen <hsivonen at iki.fi> wrote:
> On Jan 23, 2007, at 17:45, liorean wrote:
> > Well, considering the purpose of XHTML (main purpose is presentation
> > for humans, no?) is there any reason to NOT just set it to default to
> > "preserve" on the html element, fixed to "preserve" on the script,
> > style, pre and textarea elements and have it implied through an entity
> > for all other elements?
>
> Since this is about generic XML tools, XHTML-specific rules don't help.

How doesn't it? If the DTD allows it on all elements, you can put
xml:space="preserve" on all elements in the document that need it for
the tools that don't use the external subset or namespace recognition
-- 
David "liorean" Andersson
Received on Tuesday, 23 January 2007 13:48:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC