Module: wine Branch: master Commit: 59c5bd2956e4a8124c676bf86b067f826ac5e16f URL: http://source.winehq.org/git/wine.git/?a=commit;h=59c5bd2956e4a8124c676bf86b...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Tue Oct 5 23:56:15 2010 +0400
msxml3: Don't fail trying to set NewParser property.
---
dlls/msxml3/domdoc.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c index e55c0ae..1ca1746 100644 --- a/dlls/msxml3/domdoc.c +++ b/dlls/msxml3/domdoc.c @@ -64,6 +64,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msxml); static const WCHAR PropertySelectionLanguageW[] = {'S','e','l','e','c','t','i','o','n','L','a','n','g','u','a','g','e',0}; static const WCHAR PropertySelectionNamespacesW[] = {'S','e','l','e','c','t','i','o','n','N','a','m','e','s','p','a','c','e','s',0}; static const WCHAR PropertyProhibitDTDW[] = {'P','r','o','h','i','b','i','t','D','T','D',0}; +static const WCHAR PropertyNewParserW[] = {'N','e','w','P','a','r','s','e','r',0}; static const WCHAR PropValueXPathW[] = {'X','P','a','t','h',0}; static const WCHAR PropValueXSLPatternW[] = {'X','S','L','P','a','t','t','e','r','n',0};
@@ -2494,10 +2495,11 @@ static HRESULT WINAPI domdoc_setProperty( VariantClear(&varStr); return hr; } - else if (lstrcmpiW(p, PropertyProhibitDTDW) == 0) + else if (lstrcmpiW(p, PropertyProhibitDTDW) == 0 || + lstrcmpiW(p, PropertyNewParserW) == 0) { /* Ignore */ - FIXME("Ignoring property ProhibitDTD, value %d\n", V_BOOL(&var)); + FIXME("Ignoring property %s, value %d\n", debugstr_w(p), V_BOOL(&var)); return S_OK; }