Nikolay Sivov : msxml3: Accept DTD prohibition feature.
Alexandre Julliard
julliard at winehq.org
Wed Oct 5 18:03:58 CDT 2011
Module: wine
Branch: master
Commit: 165d1b5d70d44e2670e88e34f85c0aadab8fe25e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=165d1b5d70d44e2670e88e34f85c0aadab8fe25e
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Wed Oct 5 11:09:28 2011 -0500
msxml3: Accept DTD prohibition feature.
---
dlls/msxml3/saxreader.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c
index b7cd432..8498b8d 100644
--- a/dlls/msxml3/saxreader.c
+++ b/dlls/msxml3/saxreader.c
@@ -217,6 +217,10 @@ static const WCHAR FeatureLexicalHandlerParEntitiesW[] = {
'/','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 const WCHAR FeatureProhibitDTDW[] = {
+ 'p','r','o','h','i','b','i','t','-','d','t','d',0
+};
+
static inline HRESULT set_feature_value(saxreader *reader, enum ReaderFeatures feature, VARIANT_BOOL value)
{
if (value == VARIANT_TRUE)
@@ -2634,6 +2638,12 @@ static HRESULT WINAPI saxxmlreader_putFeature(
return set_feature_value(This, LexicalHandlerParEntities, value);
}
+ if (!strcmpW(FeatureProhibitDTDW, feature))
+ {
+ FIXME("(%p)->(%s %x) stub\n", This, debugstr_w(feature), value);
+ return set_feature_value(This, ProhibitDTD, value);
+ }
+
FIXME("(%p)->(%s %x) stub\n", This, debugstr_w(feature), value);
return E_NOTIMPL;
}
More information about the wine-cvs
mailing list