Commit 0414332b authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

xmllite: Return success when setting XmlReaderProperty_MaxElementDepth property.

parent 10026466
......@@ -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);
}
......
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