[jdom-interest] Setting the parents of Attributes

Jason Hunter jhunter at acm.org
Fri Oct 5 19:39:58 PDT 2001

Alex Rosen wrote:
> > but when the setAttributes(List) method of org.jdom.Element
> > is invoked,
> > shouldn't the parents of all the attributes in this list be set?
> Yes. This will be part of the legendary FilterList project, which is being
> worked on as we speak.
> On a related topic: if our goal is to prevent non-well-formed documents, I
> suppose we should check for duplicate names too? This seems excessive to
> me - I think we have to give the user a little bit of credit/responsibility.

Tough call.  Any holes will sometime be stepped into, but I don't like
wasting lots of CPU doing every little check either.


More information about the jdom-interest mailing list