Commit 376eff51 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

xmllite: Don't fail if encoding declaration is missing.

parent 8ac05cf4
......@@ -1096,7 +1096,7 @@ static HRESULT reader_parse_encdecl(xmlreader *reader)
strval name, val;
HRESULT hr;
if (!reader_skipspaces(reader)) return WC_E_WHITESPACE;
if (!reader_skipspaces(reader)) return S_FALSE;
if (reader_cmp(reader, encodingW)) return S_FALSE;
name.str = reader_get_ptr(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