Re: xerces cloning a node .. Need your valuable inputs.Please help me.

Mukul Gandhi <[email protected]>
Newsgroups gmane.text.xml.xerces-j.user
Message-ID <CABuuzNOOZJx3kqnDqOGxRWoP+jwG3yC=-avAmH+zxdG2WLOt8w@mail.gmail.com>
Hi Karthik,

On Thu, Oct 25, 2012 at 6:22 PM,  <[email protected]> wrote:
> We had the below code in place for cloning a node.
>
>         Node outNode = inNode.cloneNode(deep);
>
> And then we found that clone node in xerces may sometimes delete a
> attribute

Can you please post a test case, which will help us investigate the
issue better? Ideally, the test case should include:
1) a small input XML document.
2) a complete java program (ideally isolating only the problem parts),
using the APIs which you think have problems.

If there are attachments within your test case, a Jira issue would be good.

> so we added below piece of code but this is still not working.
> Can you please let us know the issue?

I feel, the code fragment you've shared won't help significantly to
debug this issue. I would suggest, first posting a proper test case
and then give us some time to work on the issue.




-- 
Regards,
Mukul Gandhi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.