msxml3/tests: Add tests for sub-nodes whitespaces trimming while getting node text.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4386cac6ca
commit
80df8c03e2
|
@ -481,7 +481,7 @@ static const char szExampleXML[] =
|
||||||
" <d>D1 field</d>\n"
|
" <d>D1 field</d>\n"
|
||||||
" <description xmlns:foo='http://www.winehq.org' xmlns:bar='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'>\n"
|
" <description xmlns:foo='http://www.winehq.org' xmlns:bar='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'>\n"
|
||||||
" <html xmlns='http://www.w3.org/1999/xhtml'>\n"
|
" <html xmlns='http://www.w3.org/1999/xhtml'>\n"
|
||||||
" This is <strong>a</strong> <i>description</i>. <bar:x/>\n"
|
" This is<strong> a</strong> <i>description</i>. <bar:x/>\n"
|
||||||
" </html>\n"
|
" </html>\n"
|
||||||
" <html xml:space='preserve' xmlns='http://www.w3.org/1999/xhtml'>\n"
|
" <html xml:space='preserve' xmlns='http://www.w3.org/1999/xhtml'>\n"
|
||||||
" This is <strong>a</strong> <i>description</i> with preserved whitespace. <bar:x/>\n"
|
" This is <strong>a</strong> <i>description</i> with preserved whitespace. <bar:x/>\n"
|
||||||
|
@ -4171,7 +4171,7 @@ static inline void _check_ws_ignored(int line, IXMLDOMDocument2* doc, char const
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
helper_expect_bstr_and_release(bstr, "This is a description.");
|
todo_wine helper_expect_bstr_and_release(bstr, "This is a description.");
|
||||||
}
|
}
|
||||||
IXMLDOMNode_Release(node1);
|
IXMLDOMNode_Release(node1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue