Commit 165d1b5d authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msxml3: Accept DTD prohibition feature.

parent cc4c6946
...@@ -217,6 +217,10 @@ static const WCHAR FeatureLexicalHandlerParEntitiesW[] = { ...@@ -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 '/','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) static inline HRESULT set_feature_value(saxreader *reader, enum ReaderFeatures feature, VARIANT_BOOL value)
{ {
if (value == VARIANT_TRUE) if (value == VARIANT_TRUE)
...@@ -2634,6 +2638,12 @@ static HRESULT WINAPI saxxmlreader_putFeature( ...@@ -2634,6 +2638,12 @@ static HRESULT WINAPI saxxmlreader_putFeature(
return set_feature_value(This, LexicalHandlerParEntities, value); 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); FIXME("(%p)->(%s %x) stub\n", This, debugstr_w(feature), value);
return E_NOTIMPL; return E_NOTIMPL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment