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

(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