IStream interface for domdoc and terminate call
kornelpal at gmail.com
Mon Feb 11 06:15:29 CST 2008
OK, sorry I didn't realized that you try to modify the Wine implementation.
I think that delaying pasing for the fist time you call a method of the
DOMDocument object would be a good solution. This way you will not perform
any unnecessary parings.
I don't know the exact details of MS implementations so you should check
when and how are parsing errors reported and when is the parsed document
available when you write the DOMDocument throug it's IStream interface and
you should dealy parsing to the latest possible time.
----- Original Message -----
From: "Josef Reidinger" <josef.reidinger at gmail.com>
To: "Kornél Pál" <kornelpal at gmail.com>
Sent: Monday, February 11, 2008 12:58 PM
Subject: Re: IStream interface for domdoc and terminate call
> I mean using call IStream_write like it is describe in bug #4811.
> Kornél Pál napsal(a):
>> If you mean passing an IStream interface to DOMDocument.save method:
>> As far as I know save method is synchronous (if I'm wrong you still can
>> set the async property to FALSE). So when the save method returns you
>> know that the entire document has been passed to the IStream.
>> If you want to do something else please be more specific.
>> ----- Original Message ----- From: "Josef Reidinger"
>> <josef.reidinger at gmail.com>
>> To: <wine-devel at winehq.org>
>> Sent: Monday, February 11, 2008 11:55 AM
>> Subject: IStream interface for domdoc and terminate call
>>> Hi, I try make IStream write interface for domdoc (msxml3). Problem is
>>> that microsoft doesn't have terminate string for write call and libxml
>>> have proble with it (more at
>>> http://mail.gnome.org/archives/xml/2008-February/msg00052.html ). Does
>>> anyone has any idea how solve it? (test in each dom call if is some
>>> nonparsed characters and force parsing looks very ugly).
More information about the wine-devel