Hi All, I need to understand how parsing of a file or a stream(XML data in memory) takes place in Xerces C++. I am using SAX XMLReader and passing xml input as a file path or a MemBufInputSource object. In order to create a MemBufInputSource object I need to have the entire data in memory(as given in MemParse sample). This may create problems if I have a large amount of data, say in hundreds of MB.
In case of files, does the parser read the entire file into memory and then parse it? or Does it read it in chunks? If it does it in chunks can we simulate the same for xml data in memory? What are the things to be taken care of in this case? The need to understand the mechanism arises from the requirement to progressively parse xml data by loading small chunks into the memory. Can somebody give me some pointers in this regard? Thanking you in advance! warm regards, Girish ------------------------------------- Girish Chandran Mail : [EMAIL PROTECTED] PH. (O) : 020-25678900 extn. 2364 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]