Incrementally writing large amount of data to a file.

2003-09-16 Thread Trevor Thomson
Hi, I am new to Xerces-c and XML but have been using C++ for 5+ years now. In our application I would like to use Xerces to output large amounts of data 1-80Mb. This is too large to create a DOMDocument and then use the DOMWriter due to the memory usage. I would like to be able to do write the

DO NOT REPLY [Bug 23205] - StdOutFormatTarget.cpp uses iostream.h

2003-09-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 23205] New: - StdOutFormatTarget.cpp uses iostream.h

2003-09-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

RE: xerces 1.6.0 questions

2003-09-16 Thread Hieu Bui
Unfortunately, we are stuck with using version 1.6.0 for this project. However, I will take it into advisement that it would be better to upgrade to later versions for compatiblity and functionality. Thanks for the help... --Hieu - Original Message - DATE: Tue, 16 Sep 2003 12:

RE: xerces 1.6.0 questions

2003-09-16 Thread Jesse Pelton
Note that DOMWriter is not available in 1.6.0. If I recall correctly, you have to write your own serializer. I think there was an example called DOMPrint. However, this begs the question: is it within the realm of possibility to upgrade to something reasonably current? You'll have more function

DO NOT REPLY [Bug 23197] New: - App using xercesc1_7_0 is crashing on solaris 2.8

2003-09-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

RE: xerces 1.6.0 questions

2003-09-16 Thread Adam Heinz
Here is what have been using for Xerces 2.0.0 through 2.3.0: // Create serializer. DOMImplementation* pImpl = DOMImplementationRegistry::getDOMImplementation(_X("LS")); DOMWriter* pWriter = ((DOMImplementationLS*)pImpl)->createDOMWriter(); pWriter->setEncoding(_X("UTF-8")); // Save document to di

RE: xerces 1.6.0 questions

2003-09-16 Thread Hieu Bui
Hi, Thanks for the response. I have the full distribution and have tried looking at the sample apps but couldn't find what I needed. Do you have a suggestion for where to look in particular for an answer to question #2? TIA, --Hieu - Original Message - DATE: Tue, 16 Sep 200

RE: xerces 1.6.0 questions

2003-09-16 Thread Erik Rydgren
1) You will have to write your own EntityResolver that maps external references to inputs. Then connect your entity resolver to the parser before calling the Parse method. Look in the examples for code. 2) There are no getOuterXML method in xerces. You'll have to create a DOMWriter and serialize t

xerces 1.6.0 questions

2003-09-16 Thread Hieu Bui
Hi, I am relatively inexperienced in working with Xerces and I am having a little trouble getting across the finish line with my current problem. I am developing with the Xerces 1.6.0 distribution and my XML has the following structure: http://mydomain.com/items.dtd";>