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

Re: L3 Core Document comments (fatal error)

From: Philippe Le Hegaret <plh@w3.org>
Date: 06 Aug 2003 11:10:09 -0400
To: Curt Arnold <carnold@houston.rr.com>
Cc: WWW DOM <www-dom@w3.org>
Message-Id: <1060182609.8014.55.camel@jfouffa.w3.org>

On Tue, 2003-08-05 at 22:36, Curt Arnold wrote:
> Without having spent much time with DOMError, my first interpretation of 
> "fatal error" is along the lines of:
> 
> System.out.println("Fatal Error");
> System.exit(1);
> 
> "fatal DOMError", "does not dispatch fatal errors to the 
> DOMErrorHandler" or something along those lines would have provided a 
> clue that the traditional definition was not intended.

Modified as follows:
[[
If errors occur during the invocation of this method, such as an attempt
to update a read-only node or a Node.nodeName contains an invalid
character according to the XML version in use, errors or warnings
(DOMError.SEVERITY_ERROR or DOMError.SEVERITY_WARNING) will be reported
using the DOMErrorHandler object associated with the "error-handler"
parameter. Note that this method does not report fatal errors
(DOMError.SEVERITY_FATAL_ERROR) to the DOMErrorHandler.
]]

Philippe
Received on Wednesday, 6 August 2003 11:10:56 GMT

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