Re: L3 Core Document comments (fatal error)

>>normalizeDocument: "Note that this method does not generate fatal errors"
>>
>>Should this be "does not raise exceptions"
>>    
>>
>
>No, normalizeDocument does not declare exceptions anyway. This method
>generates DOMErrors instead. Since we have 3 categories of errors on
>DOMError, we needed to be explicit that receiving a fatal error DOMError
>when using normalizeDocument will never happen, unlike the load
>operation in LS.
>
>[other issues added to the issues list]
>
>Philippe
> 
>
>
>  
>
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.

Received on Tuesday, 5 August 2003 22:36:04 UTC