[jdom-interest] Code submision: JDOM2 the dual tree

James Strachan james at metastuff.com
Tue Nov 28 01:41:13 PST 2000

----- Original Message -----
From: "Rosen, Alex" <arosen at silverstream.com>
> > > > ProcessingInstruction?
> > >
> > > Hangs off Document right now so doesn't come under the singly / doubly
> > > linked tree discussion.
> >
> > Not true.  Elements can have PIs returned by getMixedContent().  A
> > Document just has convenience accessor methods because that's where PIs
> > commonly reside.

Yes, thanks for spotting it. I stumbled across that at the weekend too. For
some reason I'd commited to memory that PI's hung off the Document. I
vaguely remember seeing an email about it a while ago.

I've given ProcessingInstruction the single / double tree and immutable /
mutable treatment. I'll post a URL to the patch soon.


James Strachan
email: james at metastuff.com
web: http://www.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 mailing list