Nikolay Sivov : msxml3: Accept lexical handler parameter entities switch.

Alexandre Julliard julliard at winehq.org
Wed Oct 5 18:03:57 CDT 2011


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Oct  5 09:37:40 2011 -0500

msxml3: Accept lexical handler parameter entities switch.

---

 dlls/msxml3/saxreader.c |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c
index 77373f1..b7cd432 100644
--- a/dlls/msxml3/saxreader.c
+++ b/dlls/msxml3/saxreader.c
@@ -64,7 +64,8 @@ enum ReaderFeatures
     ServerHttpRequest            = 1 << 11,
     SuppressValidationfatalError = 1 << 12,
     UseInlineSchema              = 1 << 13,
-    UseSchemaLocation            = 1 << 14
+    UseSchemaLocation            = 1 << 14,
+    LexicalHandlerParEntities    = 1 << 15
 };
 
 struct bstrpool
@@ -211,6 +212,11 @@ static const WCHAR FeatureExternalParameterEntitiesW[] = {
     '/','e','x','t','e','r','n','a','l','-','p','a','r','a','m','e','t','e','r','-','e','n','t','i','t','i','e','s',0
 };
 
+static const WCHAR FeatureLexicalHandlerParEntitiesW[] = {
+    'h','t','t','p',':','/','/','x','m','l','.','o','r','g','/','s','a','x','/','f','e','a','t','u','r','e','s',
+    '/','l','e','x','i','c','a','l','-','h','a','n','d','l','e','r','/','p','a','r','a','m','e','t','e','r','-','e','n','t','i','t','i','e','s',0
+};
+
 static inline HRESULT set_feature_value(saxreader *reader, enum ReaderFeatures feature, VARIANT_BOOL value)
 {
     if (value == VARIANT_TRUE)
@@ -2622,6 +2628,12 @@ static HRESULT WINAPI saxxmlreader_putFeature(
     if (!strcmpW(FeatureExternalParameterEntitiesW, feature) && value == VARIANT_FALSE)
         return set_feature_value(This, ExternalParameterEntities, value);
 
+    if (!strcmpW(FeatureLexicalHandlerParEntitiesW, feature))
+    {
+        FIXME("(%p)->(%s %x) stub\n", This, debugstr_w(feature), value);
+        return set_feature_value(This, LexicalHandlerParEntities, value);
+    }
+
     FIXME("(%p)->(%s %x) stub\n", This, debugstr_w(feature), value);
     return E_NOTIMPL;
 }




More information about the wine-cvs mailing list