[whatwg] Script, style and backwards compatibility

On Mon, 30 Apr 2007 20:42:09 +0200, Martin Atkins  
<mart at degeneration.co.uk> wrote:

> Simon Pieters wrote:
>>  This could thus also imply:
>>   * Don't disallow lang="" in XHTML5
>>  * Don't disallow <base href> in XHTML5.
>>  * Don't disallow <meta charset> in XHTML5 (it doesn't do any good, but  
>> doesn't harm either).
>>
>
> When using these, though, generic XML tools (i.e., those that aren't  
> XHTML-aware) won't "see" these elements. This doesn't really matter much  
> for the first and third, but for xml:base it can have a practical effect  
> on how the document is processed in the presence of embedded XML  
> fragments from other vocabularies.

I'm not suggesting that xml:base should be disallowed. If generic XML  
processing is important, then you're free to use xml:lang, xml:id,  
xml:base, etc.

> And if you aren't going to use generic XML tools or embed fragments from  
> other vocabularies, why would you use XHTML rather than plain old HTML?

Good question.

-- 
Simon Pieters

Received on Monday, 30 April 2007 15:24:27 UTC