[jdom-interest] Element Reference from Attribute

Kesav Kumar kesavk at voquette.com
Fri Nov 17 09:46:40 PST 2000


My intention of DOM2 is not to make the JDOM more hevy weight.  I like the
way JDOM right now simple and light weight.  But some features of DOM2 like
the one I mentioned before Event we can easily implement with the existing
frame work.  The Events of DOM2 gives lot of usability to the applications
especially more GUI centric etc.  

Kesav Kumar
Software Engineer
Voquette, Inc.
650 356 3740
mailto:kesavk at voquette.com
http://www.voquette.com


-----Original Message-----
From: Jerry Lawson [mailto:jerry.lawson at virtualsummit.com]
Sent: Thursday, November 16, 2000 11:54 AM
To: 'jdom-interest at jdom.org'
Subject: Re: [jdom-interest] Element Reference from Attribute


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 allowing
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).

Kesav Kumar wrote:

> We should have a way to get the Element reference from the Attribute.  I
was
> trying to design DOM Level2 feature of Events incorporating in JDOM this
> requires all possible navigation capabilities from any node to root node.
> Has any one thought of implementing DOM Level2 for JDOM?  If we think DOM
> Level2 we must provide a way to get the total path to the root from any
node
> including PI's, Attributes and even from CDATA sections.  Plz put forward
> your thoughts on this.
>
> Kesav Kumar
> Software Engineer
> Voquette, Inc.
> 650 356 3740
> mailto:kesavk at voquette.com
> http://www.voquette.com
>
> _______________________________________________
> To control your jdom-interest membership:
>
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com

--
___________________________________________________
Jerry Lawson                   Virtual Summit, Inc.
Virtual Programmer   jerry.lawson at virtualsummit.com



_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com



More information about the jdom-interest mailing list