On Feb 1, 2005, at 1:09 AM, Martin Duerst wrote:

>> http://www.w3.org/MarkUp/2004/xhtml-faq#xmlspace cites a quite different
>> opinion on this matter...
>
>Yes, well that opinion is (a) specific to HTML and (b) wrong. I'm amazed that the W3C allowed that to be published. -Tim


Would you mind explaining why you think it's wrong?

It says

"The attribute xml:space is about input: that is to say, it controls if the spaces will be present in the DOM (i.e. in the internal version of the document inside the browser); it says nothing about what will appear on your screen."

Which is wrong. xml:space is not about input whatsoever, it's a message from the provider of the document to any software downstream that cares to listen, with no normative effect. It suggests that elements which do not have "xml:space='preserve'", the DOM will necessarily remove white-space. I didn't think the DOM said that, and I just went and checked the DOM levels 1, 2, and 3 specs, and didn't find any instances of "xml:space". The DOM spec is big and complicated, maybe I missed it. But on the face of it, it seems that the text is wrong. -Tim



Reply via email to