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

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