W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2005

Note on DOM Level 3 Core

From: Jorgen Horstink <dom@jorgenhorstink.nl>
Date: Fri, 30 Sep 2005 01:11:27 +0200
Message-ID: <1128035487.433c749fc52ed@webmail.eatserver.nl>
To: www-dom@w3.org

The NodeList interface does not describe any exception behaviour.

"Node The node at the indexth position in the NodeList, or null if that is not a
valid index."

The DOMException part of the specification then states;

"In general, DOM methods return specific error values in ordinary processing
situations, such as out-of-bound errors when using NodeList."

I guess this is a fault in the specification? If not, could anybody tell me why
I am wrong? If this is wrong indeed, the example should be altered.

Received on Friday, 30 September 2005 05:46:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:12 UTC