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:
parent
1d78226f51
commit
585e12fa9d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue