[jdom-interest] bug in Element.getCopy ?
jhunter at collab.net
Tue Feb 27 23:39:32 PST 2001
Jochen Strunk wrote:
> 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?
More information about the jdom-interest