[whatwg] 2.2.1. DOM feature strings

Anne van Kesteren fora at annevankesteren.nl
Mon Nov 7 08:30:26 PST 2005


Quoting ROBO Design <robodesign at gmail.com>:
>>> b) The feature string "XHTML" combined with version string "5.0"
>>> is to me  not very inspired. Simple reason: XHTML 2. What if they
>>> get to XHTML 5? In  my opinion, checking for XHTML 5.0 should *not*
>>> be available.
>>
>> Also, feature "XHTML" with version string "2.0" is already taken, see:
>> <http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-1176245063>
>
> I was not saying to use feature "XHTML" with version "2.0". I know 
> it's  taken, that's why I was suggesting to not use "XHTML" and 
> version "5.0"  too.

If you knew it was taken why were you referring to XHTML 2 instead of 
DOM Level
2 HTML? Checking for the feature "XHTML" with version "2.0" means that you are
checking if a user agent supporting XHTML 1 also supports the DOM interfaces
defined in DOM Level 2 HTML for it. It has nothing to do with XHTML 2.

Therefore, using "XHTML" and "5.0" should be no problem. Especially since the
HTML WG does not seem to plan to introduce any DOM interfaces for the new
elements...


-- 
Anne van Kesteren
<http://annevankesteren.nl/>




More information about the whatwg mailing list