msxml3: Accept DTD prohibition feature.

oldstable
Nikolay Sivov 2011-10-05 11:09:28 -05:00 committed by Alexandre Julliard
parent cc4c694623
commit 165d1b5d70
1 changed files with 10 additions and 0 deletions

View File

@ -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;
}