Re: DOMConfiguration error type

On Fri, 2003-05-09 at 09:12, Gareth Reakes wrote:
> Hi,
> 	thanks for your reply. I agree with your opinion regarding 
> errors. At the URL you give it states
> 
> "Users should refer to the specification of the error in order to find its 
> DOMString type and relatedData definitions if any."
> 
> DOMConfiguration specifies the relatedData, but not the type. Does this 
> mean I can just make it up? Or should I leave it blank?

The errors are passed through the ErrorHandler object attached to the
DOMConfiguration (using the "error-handler" parameter). This
ErrorHandler will then receive the error, i.e. the DOMError object that
contains the relatedData/type. The specification should refer to
DOMError indeed.

Philippe

Received on Friday, 9 May 2003 09:34:52 UTC