Re: RFC: Implement XML loading in msxml3 directly from IStream

2008-10-22 Thread Michael Karcher
Am Freitag, den 17.10.2008, 00:46 +0200 schrieb Michael Karcher: > If libxml2 is new enough, it is possible to parse directly from the > stream using xmlReadIO to avoid copying the whole stream contents to > memory. Testing native, it looks like this is the right approach. Piotr Caban asked me whet

RFC: Implement XML loading in msxml3 directly from IStream

2008-10-16 Thread Michael Karcher
Hello developers, the current implementation of IPersistStream::Load for XMLDOMDocument takes a copy of the given stream into a hglobal stream, and uses a helper function to parse that, namely parse_xml that calls xmlReadMemory if available (since 2.6.0) and uses the old xmlParseMemory call otherw