msxml3: Update error for missing closing quote.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
48f038fb9e
commit
fd3cf6f2dd
|
@ -298,7 +298,7 @@ static HRESULT xml_get_value(xmlChar **p, xmlChar **value)
|
||||||
|
|
||||||
v = *p;
|
v = *p;
|
||||||
while (**p && **p != q) *p += 1;
|
while (**p && **p != q) *p += 1;
|
||||||
if (!**p) return XML_E_EXPECTINGCLOSEQUOTE;
|
if (!**p) return XML_E_BADCHARINSTRING;
|
||||||
len = *p - v;
|
len = *p - v;
|
||||||
if (!len) return XML_E_MISSINGNAME;
|
if (!len) return XML_E_MISSINGNAME;
|
||||||
*p += 1;
|
*p += 1;
|
||||||
|
|
|
@ -8601,10 +8601,8 @@ todo_wine
|
||||||
hr = IXMLDOMDocument_createProcessingInstruction(doc, _bstr_("xml"), _bstr_("version=\"1.0\" encoding=UTF-8"), &pi);
|
hr = IXMLDOMDocument_createProcessingInstruction(doc, _bstr_("xml"), _bstr_("version=\"1.0\" encoding=UTF-8"), &pi);
|
||||||
ok(hr == XML_E_MISSINGQUOTE, "got 0x%08x\n", hr);
|
ok(hr == XML_E_MISSINGQUOTE, "got 0x%08x\n", hr);
|
||||||
hr = IXMLDOMDocument_createProcessingInstruction(doc, _bstr_("xml"), _bstr_("version=\"1.0\" encoding='UTF-8\""), &pi);
|
hr = IXMLDOMDocument_createProcessingInstruction(doc, _bstr_("xml"), _bstr_("version=\"1.0\" encoding='UTF-8\""), &pi);
|
||||||
todo_wine
|
|
||||||
ok(hr == XML_E_BADCHARINSTRING, "got 0x%08x\n", hr);
|
ok(hr == XML_E_BADCHARINSTRING, "got 0x%08x\n", hr);
|
||||||
hr = IXMLDOMDocument_createProcessingInstruction(doc, _bstr_("xml"), _bstr_("version=\"1.0\" encoding=\"UTF-8"), &pi);
|
hr = IXMLDOMDocument_createProcessingInstruction(doc, _bstr_("xml"), _bstr_("version=\"1.0\" encoding=\"UTF-8"), &pi);
|
||||||
todo_wine
|
|
||||||
ok(hr == XML_E_BADCHARINSTRING, "got 0x%08x\n", hr);
|
ok(hr == XML_E_BADCHARINSTRING, "got 0x%08x\n", hr);
|
||||||
pi = NULL;
|
pi = NULL;
|
||||||
hr = IXMLDOMDocument_createProcessingInstruction(doc, _bstr_("xml"), _bstr_("version=\"1.0\" encoding='UTF-8'"), &pi);
|
hr = IXMLDOMDocument_createProcessingInstruction(doc, _bstr_("xml"), _bstr_("version=\"1.0\" encoding='UTF-8'"), &pi);
|
||||||
|
|
Loading…
Reference in New Issue