You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Mukul Gandhi <mu...@apache.org> on 2012/10/25 16:49:59 UTC

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

Hi Karthik,

On Thu, Oct 25, 2012 at 6:22 PM,  <ka...@polarisft.com> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org


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

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Doesn't sound like you've done much research. Have you visited the 
xerces.apache.org website or searched on Google? There's a lot of material 
available on the web.

Thanks.

Michael Glavassevich
XML Technologies and WAS Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

karthikeyan.sd@polarisFT.com wrote on 30/10/2012 07:07:45 AM:

> Hi Mukul,
> 
> Thanks for your reply
> We are coming up with the test cases,standalone api isolating the 
problem.
> BTW, can anyone please let me know if there is any link available to get
> the xerces parsers source code, any books available in market especially
> about the xerces parsers  or any other source to get a detailed idea of 
how
> these parsers work.
> 
> 
> Thanks
> karthik
> 
> 
> 
> From:   Mukul Gandhi <mu...@apache.org>
> To:   j-users@xerces.apache.org
> Date:   10/25/2012 08:20 PM
> Subject:   Re: xerces cloning a node .. Need your valuable inputs.Please
>             help me.
> 
> 
> 
> Hi Karthik,
> 
> On Thu, Oct 25, 2012 at 6:22 PM,  <ka...@polarisft.com> 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
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
> For additional commands, e-mail: j-users-help@xerces.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org


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

Posted by ka...@polarisFT.com.
Hi Mukul,

Thanks for your reply
We are coming up with the test cases,standalone api isolating the problem.
BTW, can anyone please let me know if there is any link available to get
the xerces parsers source code, any books available in market especially
about the xerces parsers  or any other source to get a detailed idea of how
these parsers work.


Thanks
karthik



From:	Mukul Gandhi <mu...@apache.org>
To:	j-users@xerces.apache.org
Date:	10/25/2012 08:20 PM
Subject:	Re: xerces cloning a node .. Need your valuable inputs.Please
            help me.



Hi Karthik,

On Thu, Oct 25, 2012 at 6:22 PM,  <ka...@polarisft.com> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org





This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only.  If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.

Visit us at http://www.polarisFT.com


---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org