Re: [whatwg] xml:space

2008-04-28 Thread Křištof Želechovski
: [whatwg] xml:space I haven't done anything with xml:space. It doesn't do anything, and it's not an HTML5 thing, so as far as I can tell it is out of scope for HTML5. On Mon, 22 Jan 2007, Henri Sivonen wrote: > > > > Since this editor artifact is harmless in browsers and

Re: [whatwg] xml:space

2008-04-27 Thread Ian Hickson
I haven't done anything with xml:space. It doesn't do anything, and it's not an HTML5 thing, so as far as I can tell it is out of scope for HTML5. On Mon, 22 Jan 2007, Henri Sivonen wrote: > > > > Since this editor artifact is harmless in browsers and useful in > > editors, it would be nice i

Re: [whatwg] xml:space

2007-01-23 Thread Henri Sivonen
On Jan 23, 2007, at 23:48, liorean wrote: If the DTD allows it on all elements, There's no DTD. 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 The start of this thread was about getting

Re: [whatwg] xml:space

2007-01-23 Thread liorean
On 1/23/07, Henri Sivonen <[EMAIL PROTECTED]> 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 th

Re: [whatwg] xml:space

2007-01-23 Thread Henri Sivonen
On Jan 23, 2007, at 23:15, Martin Atkins wrote: Presumably its primary purpose is to act as a signal to generic XML tools — that don't have any special knowledge about XHTML — that they should not screw around with the whitespace inside PRE, etc. Exactly. On Jan 23, 2007, at 17:45, liorean

Re: [whatwg] xml:space

2007-01-23 Thread Martin Atkins
Anne van Kesteren wrote: xml:space can't affect the tree being formed as far as I know. It's not entirely clear to me what its use is anyway, except in SVG, where they defined it in a funny way to make it do something. Presumably its primary purpose is to act as a signal to generic XML to

Re: [whatwg] xml:space

2007-01-23 Thread liorean
On 1/23/07, Anne van Kesteren <[EMAIL PROTECTED]> wrote: xml:space can't affect the tree being formed as far as I know. It's not entirely clear to me what its use is anyway, except in SVG, where they defined it in a funny way to make it do something. Hmm, reading the relevant part of the XML1.0

Re: [whatwg] xml:space

2007-01-23 Thread Anne van Kesteren
On Tue, 23 Jan 2007 10:45:15 -0500, liorean <[EMAIL PROTECTED]> 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 texta

Re: [whatwg] xml:space

2007-01-23 Thread liorean
On 1/23/07, Henri Sivonen <[EMAIL PROTECTED]> wrote: On Jan 22, 2007, at 23:57, Ian Hickson wrote: > It's automatically conforming everywhere, no? Isn't it an XML thing? It is an XML thing. XML 1.0 4th ed. says: > A special attribute named xml:space may be attached to an element > to signal an in

Re: [whatwg] xml:space

2007-01-23 Thread Henri Sivonen
On Jan 22, 2007, at 23:57, Ian Hickson wrote: It's automatically conforming everywhere, no? Isn't it an XML thing? It is an XML thing. XML 1.0 4th ed. says: A special attribute named xml:space may be attached to an element to signal an intention that in that element, white space should be

Re: [whatwg] xml:space

2007-01-22 Thread Ian Hickson
On Mon, 22 Jan 2007, Henri Sivonen wrote: > > Some generic XML editors (e.g. oXygen) take liberties with reformatting > whitespace by default. When whitespace is significant, the reformatting > can be turned off using the xml:space='preserve' attribute. > > Since this editor artifact is harmless

Re: [whatwg] xml:space

2007-01-22 Thread Henri Sivonen
On Jan 22, 2007, at 16:32, Henri Sivonen wrote: Since this editor artifact is harmless in browsers and useful in editors, it would be nice if the spec made it conforming at least on the element in XHTML5. Suggested text: The xml:space attribute may be used on XHTML elements of XML docume

[whatwg] xml:space

2007-01-22 Thread Henri Sivonen
Some generic XML editors (e.g. oXygen) take liberties with reformatting whitespace by default. When whitespace is significant, the reformatting can be turned off using the xml:space='preserve' attribute. Since this editor artifact is harmless in browsers and useful in editors, it would be