Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Call for Votes: new name for ParseException

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: John Cowan <jcowan AT reutershealth.com>
  • To: Francois Beausoleil <fbos AT users.sourceforge.net>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Call for Votes: new name for ParseException
  • Date: Wed, 23 Jul 2003 12:10:27 -0400

Francois Beausoleil scripsit:
> I would beg to differ. Errors should be reserved for things which break
> the whole application. When you receive an Error, we have a catastrophic
> failure and we cannot continue.

Shouldn't normally, rather than cannot, continue.

> If a document is malformed, the application can recover by rejecting the
> document and/or asking the user to correct the document. Exceptions are
> more appropriate in this case.

This argument does not apply, and I am not intending to apply it, to parsing
exceptions. It applies only to the descendants of XMLException.

--
John Cowan www.ccil.org/~cowan www.reutershealth.com
jcowan AT reutershealth.com
"'My young friend, if you do not now, immediately and instantly, pull
as hard as ever you can, it is my opinion that your acquaintance in the
large-pattern leather ulster' (and by this he meant the Crocodile) 'will
jerk you into yonder limpid stream before you can say Jack Robinson.'"
--the Bi-Coloured-Python-Rock-Snake




Archive powered by MHonArc 2.6.24.

Top of Page