[jdom-interest] Element Reference from Attribute
james at metastuff.com
Fri Nov 17 06:30:00 PST 2000
----- Original Message -----
From: "Jerry Lawson" <jerry.lawson at virtualsummit.com>
> Here's my thoughts: I like the simplicity of the JDOM as opposed to the
> cumbersome DOM API. I would hate to for DOM2 requirements on
> JDOM, cuz then it wouldn't be JDOM anymore.
> I applaud the creators of JDOM for maintaining the position of not
> feature creep. Once the creep starts, it becomes a wave.
> I have taken to extending the JDOM classes for my applications.
> This meant that I had to re-invent the SAXBuilder so that it does
> 'new' on *my* (extended) objects, rather than the standard Element,
> Attribute, CDATA, etc. I was able to do this without having to hack up
> JDOM source code (although I did fix-up Namespace.java as per many
> previous postings to this list).
I totally agree. With custom builders, everyone is happy. JDOM stays small
and simple. We can all extend the base classes to add extra user info, extra
XPath style navigation paths et al. All I would say is that JDOM should
allow custom building to be easy.
So all we need is the refactoring work on the SAXBuilder (I've mailed the
code to the list already) and everyone is happy. Addiing an
org.jdom.input.SAXFactory class would make me even happier too ;-)
email: james at metastuff.com
If you are not the addressee of this confidential e-mail and any
attachments, please delete it and inform the sender; unauthorised
redistribution or publication is prohibited. Views expressed are those of
the author and do not necessarily represent those of Citria Limited.
More information about the jdom-interest