W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2001

Opportunity clarification on hasFeature() in DOM 3

From: Curt Arnold <carnold@houston.rr.com>
Date: Thu, 17 May 2001 00:47:38 -0500
Message-ID: <002501c0de94$e2e61730$2f44a018@curtbnmqewb54k>
To: <www-dom@w3.org>
version of type DOMString
This is the version number of the feature to test. In Level 2, the string
can be either "2.0" or "1.0". If
the version is not specified, supporting any version of the feature causes
the method to return true.

The NIST tests expects impl.hasFeature("XML","") to return true basically
interpreting "version
is not specified" in the previous paragraph to at least include "version is
zero length string".
It would be good if the paragraph could clarify this saying, for example,
"the version is null or an zero length string"
Received on Thursday, 17 May 2001 01:47:41 GMT

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