-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Regards
Sree Harsha Vardhana S.N
When you want something, all the universe conspires in helping you to
achieve it.
Thanks a lot once again, but
It not executing the statement ( I think it is giving rise to runtime
errors),
LNodeFileAddedElement-removeChild(LNodeAddedFileList-item(1));
On 3/17/08, Alberto Massari [EMAIL PROTECTED] wrote:
Sree Harsha wrote:
Thanks,
quoteThe
node will be actually
in the LNodeAddedFileList.. Please help
me...
On 3/17/08, Alberto Massari [EMAIL PROTECTED] wrote:
Sree Harsha wrote:
Thanks a lot once again, but
It not executing the statement ( I think it is giving rise to runtime
errors),
LNodeFileAddedElement-removeChild(LNodeAddedFileList-item(1
Hi all,
How can i add a DOCTYPE Declaration like !DOCTYPE name SYSTEM name.dtd
[...] in my xml Newly created using CreateDOMDocument(); call??
How to use the DOMDocumentType variable to do this???
--
Thanks and Regards
Sree Harsha Vardhana S.N
When you want something, all the universe conspires
Thanks Alberto,
I used resetDocumentPool(),
But I get a run time error R6025 pure virtual function call.
Thanks and regards
Sree Harsha Vardhana S.N
On 2/27/08, Alberto Massari [EMAIL PROTECTED] wrote:
Hi Sree,
you should invoke resetDocumentPool(), not reset(). As for the code you
posted
Thanks for the tip on releasing the XMLstring memory ... there was a
reduction in the use of memory...
please tell me why i am getting an error when i resetDocumentPool();
I get a run time error R6025 pure virtual function call
thank you
On 2/27/08, Sree Harsha [EMAIL PROTECTED] wrote
the file source*/
/*delete the source file*/
/*I used the function which you suggested*/
parser_.resetDocumentPool();
}while(dwbytes==bufsize);
/*some condition*/
On 2/27/08, Alberto Massari [EMAIL PROTECTED] wrote:
Sree Harsha wrote:
Thanks Alberto,
I used resetDocumentPool(),
But I get
/*Here is how the code looks like*/
XercesDOMParser parser_;
do
{
/*code to create a source file */
/*During the next iteration the following code will give runtime error*/
parser_.parse(source);
xercesc::DOMDocument* xmlDoc = parser_.getDocument() ;
/*code to parse the file source*/
file*/
/*what function should i call to reuse parser_ object in the next iteration
so that memory consumption reduces */
}while(dwbytes==bufsize);
/*some condition*/
--
Regards
Sree Harsha Vardhana S.N
When you want something, all the universe conspires in helping you to
achieve it.
--
Regards
...() methods. Or,
to be paranoid and/or lazy, you could use a new parser for each iteration.
--
*From:* Sree Harsha [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, February 26, 2008 5:40 AM
*To:* [EMAIL PROTECTED]; c-dev@xerces.apache.org
*Subject:* Please help me out
of Folders Created= CreateFolderCountstd::endl;
}
//std::cindwBytesWritten;
}//if (outXmlFile)...end
delete pTarget;
delete pSerializer;
delete outXmlDoc;
delete outXmlDoctype;
DeleteFile(szTempName);
CloseHandle(hSourceFile);
return ;
} // load()
--
Regards
Sree Harsha Vardhana
Regards
Sree Harsha Vardhana S.N
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
..
}
//Here is the problem .. when we give the path of the file to be
parsed is in a different folder than the executable we have to give
the full path to str. str is something like say C:\Documents and
Settings\Sree Harsha\Local Settings\Temp\Newfile.xml
when i give such a string the number of error is 1
13 matches
Mail list logo