From 165d1b5d70d44e2670e88e34f85c0aadab8fe25e Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Wed, 5 Oct 2011 11:09:28 -0500 Subject: [PATCH] msxml3: Accept DTD prohibition feature. --- dlls/msxml3/saxreader.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c index b7cd4323f11..8498b8dbb1f 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; } -- 2.11.4.GIT