Re: Does it Memory Leak

2004-05-18 Thread Gareth Reakes
Hi, no it does not. The internal memory structure of xerces is such that this may appear to be the case. When you delete the document he memory will be reclaimed. Search in the archives for more information. Gareth On Wed, 19 May 2004, Imran A R (RBIN/EDM1) * wrote: > > > IN my l

how to change the value of a specific node

2004-05-18 Thread Cristina Cioroboiu
I have a DOMDocument.I use Xalan to determine a specific section of an DOMDocument (Xpath determined). I want  encode this in Base64 ( the element and probably its descendants ).   I have the node now and I want to replace with  this new value the corresponding element (tree) in the original DOMDoc

Does it Memory Leak

2004-05-18 Thread Imran A R (RBIN/EDM1) *
IN my local function , am doing DOMElement* lname = NULL; lname = m_pDOMDocument->createElement(c_ElementName); and i returns the lname , does it leaks any memory Thanks

quick simple searches on domnode

2004-05-18 Thread Justin
What is the best way to answer the question: Are there any child nodes in namespace X? I have seen the NodeFilter and TreeWalker/Traversal options. There is Xalan, but I haven't needed it yet and I dread adding another dependency and code for this. I would like to avoid walking the entire DOM

RE: Generating XML

2004-05-18 Thread Imran A R (RBIN/EDM1) *
Hi can you please send me some samples of this ostream method? Thanks -Original Message- From: Sean Kelly [mailto:[EMAIL PROTECTED] Sent: Tuesday, 18. May 2004 10:22 PM To: [EMAIL PROTECTED] Subject: Re: Generating XML Imran A R (RBIN/EDM1) * wrote: > Hi > I got it, it is work

RE: XMLScanner::scanCharData fills XMLBuffer until out of memory

2004-05-18 Thread Dan Rosen
Hi, I uploaded a patch to prevent the scanner from running out of memory last week, but I'm new to Xerces and I don't believe I have the ability to check the patch into CVS. Would somebody familiar with the relevant code be able to review my patch and commit it as appropriate? Regards, dr -O

RE: Generating XML

2004-05-18 Thread Nathan Codding
Or have a look at GenX, a lightweight C library for generating well-formed, even Canonical, XML: http://tbray.org/ongoing/When/200x/2004/02/20/GenxStatus -Nathan -Original Message- From: Sean Kelly [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 18, 2004 9:52 AM To: [EMAIL PROTECTED] Subje

Re: Generating XML

2004-05-18 Thread Sean Kelly
Imran A R (RBIN/EDM1) * wrote: Hi I got it, it is working But I heard DOM is more memory consumin. Is there any other way? You can always do it by hand by creating ostream methods for your classes. Sean - To unsubscribe, e-mail: [E

RE: adoptDocument() vs. getDocument()

2004-05-18 Thread Hassink, Brian
Turned out to be a subtle bug on my end where the parser was configured differently under different circumstances. -Original Message- From: Gareth Reakes [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 2:51 PM To: '[EMAIL PROTECTED]' Subject: Re: adoptDocument() vs. getDocument()

RE: Generating XML

2004-05-18 Thread Imran A R (RBIN/EDM1) *
Hi I got it, it is working But I heard DOM is more memory consumin. Is there any other way? Thanks -Original Message- From: Jeroen N. Witmond [mailto:[EMAIL PROTECTED] Sent: Tuesday, 18. May 2004 11:58 AM To: [EMAIL PROTECTED] Subject: Re: Generating XML CreateDOMDocument in the samples