W3C home > Mailing lists > Public > www-svg@w3.org > January 2006

Re: SVGT 1.2: A proposal for how to define SVG whitespace in terms of CSS whitespace

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 30 Jan 2006 23:34:27 +0000 (UTC)
To: www-svg@w3.org
Message-ID: <Pine.LNX.4.62.0601302324070.2856@dhalsim.dreamhost.com>

(SVGWG, please consider this one of my last call comments.)

On Sat, 14 Jan 2006, Maciej Stachowiak wrote:
> Here's my proposal for how to change this.
> * The default setting for xml:space for SVG elements is "preserve".

I don't understand what this means. Since SVG 1.2 has no DTDs, it can't 
default attributes, and XML 1.x provides no other mechanism for changing 
the "default setting" of its attributes. (By default, xml:space is not set 
on any elements, and inherits.)

What you probably want to say is just that "all whitespace in the markup 
must be preserved during parsing", without reference to xml:space at all.

Note that in existing XML parsers in Web UAs, xml:space has no effect, 
because the default value (unspecified), the "default" value, and the 
"preserve" value, all have the same effect. It would be extremely bad for 
the SVG specification to require that XML parsers be aware of the SVG 
namespace when creating the DOM.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 30 January 2006 23:34:38 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:06 UTC