[Bug 29355] Multiple apps need IXMLDOMDocument::save() to preserve/output XML declaration (Lexware Financial Office Pro 2012, ...)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Apr 15 15:10:44 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=29355

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
            Summary|IXMLDOMDocument::save()     |Multiple apps need
                   |doesn't output xml          |IXMLDOMDocument::save() to
                   |declaration                 |preserve/output XML
                   |                            |declaration (Lexware
                   |                            |Financial Office Pro 2012,
                   |                            |...)

--- Comment #4 from Anastasius Focht <focht at gmx.net> 2012-04-15 15:10:44 CDT ---
Hello,

Lexware Financial Office Pro 2012 (v12.0) also needs this.
The installer executes a system "spec" check which results in a XML file being
written and loaded again to be displayed.

The installer GUI breaks because the XML declaration isn't serialized when the
file is created.

'winetricks msxml3' works around.

File created with native msxml3:

--- snip ---
<?xml version="1.0" encoding="iso-8859-1"?>
<systemchecks logopath="" logofilename="C:\Program Files\Common
Files\Lexware\Setup\financial_office_pro\FlashMovie\gfx\lexchecklogo.jpg"
title="Systemressourcen" description="Lexware scout hat Ihr System auf folgende
Punkte geprüft:">
    <systemcheck name="Betriebssystem" description="Ihr Betriebssystem ist mit
dem Produkt kompatibel." category="Success" detectedvalue="Microsoft Windows XP
Professional SP3" requiredvalue="Service Pack 0"></systemcheck><systemcheck
name="Arbeitsspeicher" description="Ihr Rechner verfügt über genügend
Arbeitsspeicher." category="Success" detectedvalue="größer oder gleich 2048 MB"
requiredvalue="512 MB"></systemcheck><systemcheck name="Bildschirmauflösung"
description="Prüfung der Bildschirmauflösung erfolgreich." category="Success"
detectedvalue="1920 x 1080, 32 Bit" requiredvalue="1024 x 768, 15
Bit"></systemcheck></systemchecks>
--- snip ---

File created with Wine builtin msxml3:

--- snip ---
<systemchecks logopath="" logofilename="C:\Program Files\Common
Files\Lexware\Setup\financial_office_pro\FlashMovie\gfx\lexchecklogo.jpg"
title="Systemressourcen" description="Lexware scout hat Ihr System auf folgende
Punkte geprüft:"><systemcheck name="Betriebssystem" description="Ihr
Betriebssystem ist mit dem Produkt kompatibel." category="Success"
detectedvalue="Microsoft Windows XP Professional SP3" requiredvalue="Service
Pack 0"></systemcheck><systemcheck name="Arbeitsspeicher" description="Ihr
Rechner verfügt über genügend Arbeitsspeicher." category="Success"
detectedvalue="größer oder gleich 2048 MB" requiredvalue="512
MB"></systemcheck><systemcheck name="Bildschirmauflösung"
description="Prüfung der Bildschirmauflösung erfolgreich." category="Success"
detectedvalue="1920 x 1080, 32 Bit" requiredvalue="1024 x 768, 15
Bit"></systemcheck></systemchecks>
--- snip ---

Also missing: 'tab' indentation before "systemcheck" but this seems harmless.

For testing I cheated the installer using a debugger and a breakpoint on
'domdoc_save'.
After replacing the created file with a version that preserves the xml
declaration and 'continue' the installer/GUI works fine and displays the
gathered data.
So it's really the missing XML declaration that breaks it.

There are probably more apps that depend on this, refining summary.

$ wine --version
wine-1.5.2

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list