W3C home > Mailing lists > Public > www-di@w3.org > June 2005

[DPF] Errors meaning the same thing section 4.3 and 4.8

From: Keith Waters <kwaters@ftrd.us>
Date: Thu, 2 Jun 2005 13:58:16 -0400
Message-Id: <A572476F-8B84-45D4-A14D-882DE80642BD@ftrd.us>
To: www-di@w3.org

Hi Jeremy,

This message contains a response to comments on


section 4.3 and 4.8

Do these two errors mean the same thing?
(Sorry again overlap with substantive comment, s14 concerning text of  

No, the errors do not mean the same thing. These exceptions apply to  
the Item() method within the DPFPropertyList interface. The Item()  
method returns a DPFProperty within the property list based on an  
index (size of list) value. The INDEX_SIZE_ERR is raised if an  
invalid size number is used as a parameter to item call. The  
INVALID_ACCESS_ERR is raised due to an invalid memory access that  
occurs after a DPFProperty was accessed from the list. For example, a  
script object would have accessed the value pointer of a DPFProperty  
node from the property list. Now the property was removed from the  
list. If the script object tries to access the value pointer (that  
was stored in the previous call), this exception would be raised.

-Keith Waters
Received on Thursday, 2 June 2005 17:58:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:54:24 UTC