W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2001

Re: DOMImplementation.hasFeature and 'Core', 'XML' and '1.0'.

From: Philippe Le Hegaret <plh@w3.org>
Date: Tue, 20 Feb 2001 16:11:19 -0500
Message-ID: <3A92DD77.7C9676BC@w3.org>
To: Martijn Pieters <mj@digicool.com>
Cc: www-dom@w3.org
Martijn Pieters wrote:
> So, should a DOM level 2 implementation return true on hasFeature('Core',
> '1.0) or hasFeature('XML', '1.0')? I *think* it should, but would like to
> hear confirmation.

The definition of version '1.0' is driven by the DOM Level 1 specification.
The DOM Level 2 specification doesn't say anything about
hasFeature('Core', '1.0') and I don't think it has to, given that you can't
expect a DOM Level 1 implementation to return true.
hasFeature('XML', '1.0') must definitively return true for a DOM Level 2
implementation since DOM Level 2 is build on top of DOM Level 1.

Philippe
Received on Tuesday, 20 February 2001 16:11:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:48 GMT