Re: Comments on DOM Load and Save

Sorry, I was reading the specs out of order and thought the lack of a
hyperlink on DOMErrorHandler was an indication that the interface had not
been defined.  Having a hyperlink to the definition in the later versions
would be helpful.

For errors during parsing, it would seem that passing a DOMLocator from the
parser would be much more useful than just a Node.  Whether that would
suggest changing DOMErrorHandler's definition to take a DOMLocator or having
a distinct interface for parser errors, I don't know.

----- Original Message -----
From: "Elliotte Rusty Harold" <elharo@metalab.unc.edu>
To: "Curt Arnold" <carnold@houston.rr.com>; <www-dom@w3.org>
Sent: Monday, February 11, 2002 7:23 AM
Subject: Re: Comments on DOM Load and Save


> At 11:50 PM -0600 2/10/02, Curt Arnold wrote:
>
>
> DOMErrorHandler Interface:
>
> Referenced in DOMBuilder, but not defined in spec.  Called functions
> should be able to throw some type of exception or return an object to
> stop the parse and raise an exception to the caller of parse.  Those
> exceptions would need to be added to the list of potential exceptions
> on the parse calls.
>
>
>
> This is defined in the Core spec:
>
http://www.w3.org/TR/DOM-Level-3-Core/core.html#ERROR-Interfaces-DOMErrorHan
dler
>
> --
>
> +-----------------------+------------------------+-------------------+
> | Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
> +-----------------------+------------------------+-------------------+
> |          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
> |              http://www.ibiblio.org/xml/books/bible2/              |
> |   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
> +----------------------------------+---------------------------------+
> |  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
> |  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/     |
> +----------------------------------+---------------------------------+
>

Received on Monday, 11 February 2002 10:14:36 UTC