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."
source:
http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-536297177

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."
source:
http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-17189187

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.

-jorgen
Received on Friday, 30 September 2005 05:46:39 GMT

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