Next in thread → Next in month →

Re: [xml-dev] endDocument/fatalError warning

From
Elliotte Rusty Harold <>
To
Dennis Sosnoski <>
Date
2004-03-10T23:51:30Z
ID
<p06010213bc755a5f167a@[192.168.254.4]>
Thread
Re: [xml-dev] endDocument/fatalError warning
At 2:54 PM -0800 3/10/04, Dennis Sosnoski wrote:

>I don't understand your logic in this, Elliotte. AFAIKS this method 
>will *never* be called after the parser has thrown an exception, 
>only before. I suppose if you want this to be completely correct it 
>could say something like "...about whether endDocument() will or 
>will not be invoked after the parser has reported a fatalError() (if 
>an ErrorHandler is used) and before the parser throws an exception." 
>That seems likely to confuse people more than the wording used by 
>David, though.

It will be called after the parser has reported a fatal error though, 
and we should really remove the but about the exception completely.
-- 

   Elliotte Rusty Harold
   
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA
Next in thread → Next in month →