[jdom-interest] JDOM BOF at SD West: problem resolving  Joseph
Bowbeer jozart at csi.com Thu Apr 12 20:55:15 PDT 2001  > So we
had a great JDOM BOF (Birds of a Feather) session > at SD West
last night.  Thanks, Jason.  Wish I'd been there.  I have
comments on two items.  > * Do we keep original list data in
case of illegal add? > YES, absolutely.  That's how I sided
initially, but the fact that IllegalAddException is unchecked,
plus concerns about interaction with subclass implementions
caused me to change my mind.  Please see:   In the case of
setMixedContent, I suggest we view it as a composite of more
primitive operations.  We should strive to make the primitive
'add' operations failure atomic, but, on failure, we should
simply abort setMixedContent at the point of failure.  By the
way, tweaking JDOM for subclassing is a TODO topic in itself.
There are some specific things we can do, such as never calling
overridable methods from the constructors or the "pseudo-
constructors" (clone and readObject).   Ther