[Bug 48450] New: MindManager Pro v7.0 shows XML processing error on startup (needs support for 'charset' property)

WineHQ Bugzilla wine-bugs at winehq.org
Sun Jan 12 06:31:33 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=48450

            Bug ID: 48450
           Summary: MindManager Pro v7.0 shows XML processing error on
                    startup (needs support for 'charset' property)
           Product: Wine
           Version: 5.0-rc5
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: msxml3
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

continuation of bug 44594 ("MindManager Pro v7.0 shows XML processing error on
startup (needs support for 'exhaustive-errors', 'external-general-entities' and
'external-parameter-entities' features in MSXML SAX reader)").

Prerequisite: 'winetricks -q dotnet20' (if Wine was built without Wine-Mono
support).

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/Mindjet/MindManager 7

$ WINEDEBUG=+seh,+relay,+msxml wine ./MindManager.exe >>log.txt 2>&1
...
003c:trace:msxml:isaxxmlreader_putFeature (0x3cbcc08)->(L"exhaustive-errors" 0)
...
003c:trace:msxml:isaxxmlreader_putFeature
(0x3cbcc08)->(L"http://xml.org/sax/features/external-general-entities"
ffffffff)
...
003c:fixme:msxml:isaxxmlreader_putFeature
(0x3cbcc08)->(L"http://xml.org/sax/features/external-general-entities"
ffffffff) stub
...
003c:trace:msxml:isaxxmlreader_putFeature
(0x3cbcc08)->(L"http://xml.org/sax/features/external-parameter-entities"
ffffffff)
...
003c:fixme:msxml:isaxxmlreader_putFeature
(0x3cbcc08)->(L"http://xml.org/sax/features/external-parameter-entities"
ffffffff) stub
...
003c:trace:msxml:isaxxmlreader_putFeature (0x3cbcc08)->(L"schema-validation" 0)
...
003c:trace:msxml:internal_putProperty (0x3cbcc08)->(L"charset" 0x32dc20
{VT_BSTR: L"UTF-8"})
...
003c:fixme:msxml:internal_putProperty (0x3cbcc08)->(L"charset":0x32dc20
{VT_BSTR: L"UTF-8"}): unsupported property
...
003c:Call KERNEL32.GetLastError() ret=022d84c5
003c:Ret  KERNEL32.GetLastError() retval=000036b7 ret=022d84c5
003c:Call
KERNEL32.FormatMessageW(00001300,00000000,000036b7,00000400,00000000,00000000,00000000)
ret=022d84f3
003c:Ret  KERNEL32.FormatMessageW() retval=00000000 ret=022d84f3
...
003c:Call msvcr80.vswprintf_s(03ae09a0,0000000b,023068ec L"0x%08X",0032dc5c)
ret=78306c82
003c:Ret  msvcr80.vswprintf_s() retval=0000000a ret=78306c82
003c:Call ole32.GetErrorInfo(00000000,0032dca0) ret=022d8557
003c:Ret  ole32.GetErrorInfo() retval=00000001 ret=022d8557
003c:Call msvcr80._CxxThrowException(0032dd40,0230ce1c) ret=022e5cc7
003c:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0032dc64)
ret=7d926935
...
003c:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b00dab1
ip=7b00dab1 tid=003c
003c:trace:seh:raise_exception  info[0]=19930520
003c:trace:seh:raise_exception  info[1]=0032dd40
003c:trace:seh:raise_exception  info[2]=0230ce1c
003c:trace:seh:raise_exception  eax=0032dbb4 ebx=0032ea90 ecx=0032dc64
edx=0032dbb4 esi=00000003 edi=0032dc20
003c:trace:seh:raise_exception  ebp=0032dc08 esp=0032dbb4 cs=320023 ds=ffff002b
es=002b fs=f7b90063 gs=006b flags=00000216 
...
003c:Call user32.SetWindowTextW(0001033a,03ae0448 L"XML processing error")
ret=7833abe2 
--- snip ---

Wine source:

https://source.winehq.org/git/wine.git/blob/78259fceb3c591f91471ad8bd98d843e0d030bae:/dlls/msxml3/saxreader.c#l2807

--- snip ---
2807 static HRESULT internal_putProperty(
2808     saxreader* This,
2809     const WCHAR *prop,
2810     VARIANT value,
2811     BOOL vbInterface)
2812 {
2813     VARIANT *v;
2814 
2815     TRACE("(%p)->(%s %s)\n", This, debugstr_w(prop),
debugstr_variant(&value));
2816 
2817     if (This->isParsing) return E_FAIL;
2818 
2819     v = V_VT(&value) == (VT_VARIANT|VT_BYREF) ? V_VARIANTREF(&value) :
&value;
2820     if(!memcmp(prop, PropertyDeclHandlerW, sizeof(PropertyDeclHandlerW)))
2821         return saxreader_put_handler_from_variant(This, SAXDeclHandler, v,
vbInterface);
2822 
2823     if(!memcmp(prop, PropertyLexicalHandlerW,
sizeof(PropertyLexicalHandlerW)))
2824         return saxreader_put_handler_from_variant(This, SAXLexicalHandler,
v, vbInterface);
2825 
2826     if(!memcmp(prop, PropertyMaxXMLSizeW, sizeof(PropertyMaxXMLSizeW)))
2827     {
2828         if (V_VT(v) == VT_I4 && V_I4(v) == 0) return S_OK;
2829         FIXME("(%p)->(%s): max-xml-size unsupported\n", This,
debugstr_variant(v));
2830         return E_NOTIMPL;
2831     }
2832 
2833     if(!memcmp(prop, PropertyMaxElementDepthW,
sizeof(PropertyMaxElementDepthW)))
2834     {
2835         if (V_VT(v) == VT_I4 && V_I4(v) == 0) return S_OK;
2836         FIXME("(%p)->(%s): max-element-depth unsupported\n", This,
debugstr_variant(v));
2837         return E_NOTIMPL;
2838     }
2839 
2840     FIXME("(%p)->(%s:%s): unsupported property\n", This, debugstr_w(prop),
debugstr_variant(v));
2841 
2842     if(!memcmp(prop, PropertyCharsetW, sizeof(PropertyCharsetW)))
2843         return E_NOTIMPL;
2844 
...
2862 
2863     return E_INVALIDARG;
2864 }

--- snip ---

$ sha1sum MM70-E-429_Pro.exe 
a546bdbad175260764b0a11f250d02950b93e940  MM70-E-429_Pro.exe

$ du -sh MM70-E-429_Pro.exe 
77M    MM70-E-429_Pro.exe

$ wine --version
wine-5.0-rc5

Regards

-- 
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