Paul Vriens : msxml3: Ignore a property.

Alexandre Julliard julliard at winehq.org
Wed Jul 28 10:45:07 CDT 2010


Module: wine
Branch: master
Commit: fa8f79feb82c5823d111526e43862223d7cb8836
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fa8f79feb82c5823d111526e43862223d7cb8836

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Tue Jul 27 15:32:51 2010 +0200

msxml3: Ignore a property.

---

 dlls/msxml3/domdoc.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
index f9f02e0..aff5b74 100644
--- a/dlls/msxml3/domdoc.c
+++ b/dlls/msxml3/domdoc.c
@@ -59,6 +59,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msxml);
 #define XML_SAVE_AS_HTML   64
 
 static const WCHAR SZ_PROPERTY_SELECTION_LANGUAGE[] = {'S','e','l','e','c','t','i','o','n','L','a','n','g','u','a','g','e',0};
+static const WCHAR SZ_PROPERTY_PROHIBIT_DTD[] = {'P','r','o','h','i','b','i','t','D','T','D',0};
 static const WCHAR SZ_VALUE_XPATH[] = {'X','P','a','t','h',0};
 static const WCHAR SZ_VALUE_XSLPATTERN[] = {'X','S','L','P','a','t','t','e','r','n',0};
 
@@ -2075,6 +2076,12 @@ static HRESULT WINAPI domdoc_setProperty(
         VariantClear(&varStr);
         return hr;
     }
+    else if (lstrcmpiW(p, SZ_PROPERTY_PROHIBIT_DTD) == 0)
+    {
+        /* Ignore */
+        FIXME("Ignoring property ProhibitDTD, value %d\n", V_BOOL(&var));
+        return S_OK;
+    }
 
     FIXME("Unknown property %s\n", wine_dbgstr_w(p));
     return E_FAIL;




More information about the wine-cvs mailing list