Re: xml:space

On 28.09.2010 14:13, Anne van Kesteren wrote:
> On Tue, 28 Sep 2010 14:12:02 +0200, Julian Reschke
> <julian.reschke@gmx.de> wrote:
>> It's a feature of XML (just like xml:id...), but the language still
>> needs to define where it's allowed in valid documents.
>>
>> "A special attribute named xml:space may be attached to an element to
>> signal an intention that in that element, white space should be
>> preserved by applications. In valid documents, this attribute, like
>> any other, MUST be declared if it is used." --
>> <http://www.w3.org/TR/REC-xml/#sec-white-space>
>>
>> In HTML5 we do not use a schema language, but prose to define
>> conformance. That prose just mention where xml:space is allowed.
>
> Valid in XML specifically refers to DTDs so that seems out of scope
> since we do not have those.

So why does the spec talk about xml:base then? 
(<http://dev.w3.org/html5/spec/Overview.html#the-xml:base-attribute-xml-only>).

Consistency, please.

Best regards, Julian

Received on Tuesday, 28 September 2010 14:07:45 UTC