[jdom-interest] bug in Element.getCopy ?
Jason Hunter
jhunter at collab.net
Tue Feb 27 23:39:32 PST 2001
Jochen Strunk wrote:
>
> Hi,
>
> i think there is a bug in Element.getCopy. It doesn' t deep copy the
> namespace, which makes it difficult to change the default namespace of an
> element. The patch below solves the problem for me.
If you call getCopy(String) it makes a copy of the element using the
given name in no namespace. My guess is you're seeing that behavior but
expect it to copy the namespace over too?
-jh-
More information about the jdom-interest
mailing list