- From: Philippe Le Hegaret <plh@w3.org>
- Date: Tue, 20 Feb 2001 16:11:19 -0500
- 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 UTC