msxml3/saxreader: Accept external-general-entities and external-parameter-entities.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2018-02-27 01:16:39 +03:00 committed by Alexandre Julliard
parent 1d78226f51
commit 585e12fa9d
1 changed files with 5 additions and 4 deletions

View File

@ -3247,16 +3247,17 @@ static HRESULT WINAPI isaxxmlreader_putFeature(
feature = get_saxreader_feature(feature_name);
/* accepted cases */
if ((feature == ExternalGeneralEntities && value == VARIANT_FALSE) ||
(feature == ExternalParameterEntities && value == VARIANT_FALSE) ||
(feature == ExhaustiveErrors && value == VARIANT_FALSE) ||
if ((feature == ExhaustiveErrors && value == VARIANT_FALSE) ||
feature == Namespaces ||
feature == NamespacePrefixes)
{
return set_feature_value(This, feature, value);
}
if (feature == LexicalHandlerParEntities || feature == ProhibitDTD)
if (feature == LexicalHandlerParEntities ||
feature == ProhibitDTD ||
feature == ExternalGeneralEntities ||
feature == ExternalParameterEntities)
{
FIXME("(%p)->(%s %x) stub\n", This, debugstr_w(feature_name), value);
return set_feature_value(This, feature, value);