xmllite: Return success when setting XmlReaderProperty_MaxElementDepth property.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
10026466a3
commit
0414332b08
|
@ -2600,6 +2600,9 @@ static HRESULT WINAPI xmlreader_SetProperty(IXmlReader* iface, UINT property, LO
|
|||
if (value < 0 || value > _DtdProcessing_Last) return E_INVALIDARG;
|
||||
This->dtdmode = value;
|
||||
break;
|
||||
case XmlReaderProperty_MaxElementDepth:
|
||||
FIXME("Ignoring MaxElementDepth %ld\n", value);
|
||||
break;
|
||||
default:
|
||||
FIXME("Unimplemented property (%u)\n", property);
|
||||
return E_NOTIMPL;
|
||||
|
|
|
@ -1796,6 +1796,9 @@ static void test_reader_properties(void)
|
|||
hr = IXmlReader_SetProperty(reader, XmlReaderProperty_MultiLanguage, 0);
|
||||
ok(hr == S_OK, "SetProperty failed: %08x\n", hr);
|
||||
|
||||
hr = IXmlReader_SetProperty(reader, XmlReaderProperty_MaxElementDepth, 0);
|
||||
ok(hr == S_OK, "SetProperty failed: %08x\n", hr);
|
||||
|
||||
IXmlReader_Release(reader);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue