- From: Thomas Much <thomas@snailshell.de>
- Date: Thu, 12 Jul 2001 13:13:43 +0200
- To: <www-dom@w3.org>
- CC: Philippe Le Hegaret <plh@w3.org>
am 11.07.2001 23:57 Uhr schrieb Philippe Le Hegaret unter plh@w3.org: > http://www.w3.org/2000/11/DOM-Level-2-errata#core-14 "[...] If the version is null or empty string, supporting any version of the feature causes the method to return true." Maybe this should better read "If the version is null (or undefined) or empty string..." ^^^^^^^^^^^^^^ because in ECMAScript the most common way to not supplying an argument is leaving that argument "undefined" (which is a valid ECMAScript value), so you'd just call document.implementation.hasFeature("XML") instead of document.implementation.hasFeature("XML",null) bye, Thomas -- http://www.muchsoft.com/inscript/ http://www.icab.de
Received on Thursday, 12 July 2001 07:13:46 UTC