TST_MSXML_1_1-1-g855eaf4
s��n jun 24 22:03:26 CEST 2012
CoInitialize successful!
ok <-- CoCreateInstance (...DOMDocument...)
================================ Test 01 ======================================
ok <-- createNode (type = NODE_ELEMENT, name = "elem1", nsURI = "urn:ns1")
ok <-- createNode (type = NODE_ELEMENT, name = "elem2", nsURI = "urn:ns1")
ok <-- appendChild (elem1, elem2, NULL)
dbgstr(elem1) = L"\r\n\t\r\n"
dbgstr(elem2) = L""
================================ Test 02 ======================================
ok <-- createNode (type = NODE_ELEMENT, name = "pre:foo", nsURI = "urn:ns1")
ok <-- createNode (type = NODE_ELEMENT, name = "pre:bar", nsURI = "urn:ns2")
ok <-- appendChild (pre:foo, pre:bar, NULL)
dbgstr(pre:foo) = L"\r\n\t\r\n"
ok <-- createElement (name = "pre:baz")
ok <-- appendChild (pre:foo, pre:baz, NULL)
FAIL <-- setAttribute (attr = "xmlns:pre", value = "urn:ns3"
dbgstr(pre:foo) = L"\r\n\t\r\n\t\r\n"
================================ Test 03 ======================================
ok <-- createNode (type = NODE_ELEMENT, name = "parent", nsURI = "")
False <-- get_namespaceURI (parent, returned (null))
ok <-- createNode (type = NODE_ATTRIBUTE, attr = "xmlns", nsURI = "http://www.w3.org/2000/xmlns/")
ok <-- put_nodeValue (value = "urn:ns4")
fixme:msxml:domelem_setAttributeNode (0x131870)->(0x1302b4 0x32fd8c): semi-stub
ok <-- setAttributeNode
False <-- get_namespaceURI (parent, returned (null))
ok <-- createNode (type = NODE_ELEMENT, name = "child", nsURI = "urn:ns4")
ok <-- get_namespaceURI (child, returned L"urn:ns4")
ok <-- appendChild (parent, child, NULL)
dbgstr(parent) = L"\r\n\t\r\n"
dbgstr(child) = L""
-------------------------------------------------------------------
ok <-- createNode (type = NODE_ATTRIBUTE, attr = "xmlns", nsURI = "http://www.w3.org/2000/xmlns/")
ok <-- put_nodeValue (value = "urn:ns5")
fixme:msxml:domelem_setAttributeNode (0x12fd70)->(0x12fef4 0x32fd8c): semi-stub
fixme:msxml:is_skippable_xlmns_attribute refuses to add xmlns="urn:ns5" when element already has default namespace "urn:ns4"
FAIL <-- setAttributeNode
dbgstr(parent) = L"\r\n\t\r\n"
dbgstr(child) = L""
ok <-- get_namespaceURI (child, returned L"urn:ns4")
ok <-- createNode (type = NODE_ATTRIBUTE, attr = "xmlns", nsURI = "http://www.w3.org/2000/xmlns/")
ok <-- put_nodeValue (value = "urn:ns4")
fixme:msxml:domelem_setAttributeNode (0x12fd70)->(0x13208c 0x32fd8c): semi-stub
ok <-- setAttributeNode
dbgstr(parent) = L"\r\n\t\r\n"
================================ Test 04 ======================================
ok <-- createNode (type = NODE_ATTRIBUTE, attr = "xmlns", nsURI = "http://www.w3.org/2000/xmlns/")
ok <-- createNode (type = NODE_ATTRIBUTE, attr = "xmlns:foo", nsURI = "http://www.w3.org/2000/xmlns/")
fixme:msxml:domdoc_createNode refuses to bind prefix "xmlns" to URI L"http://www.w3.org/2000/xmlns" instead of L"http://www.w3.org/2000/xmlns/"
FAIL <-- createNode (type = NODE_ATTRIBUTE, attr = "xmlns", nsURI = "http://www.w3.org/2000/xmlns")
fixme:msxml:domdoc_createNode refuses to bind prefix "xmlns" to URI L"http://www.w3.org/2000/xmlns" instead of L"http://www.w3.org/2000/xmlns/"
FAIL <-- createNode (type = NODE_ATTRIBUTE, attr = "xmlns:foo", nsURI = "http://www.w3.org/2000/xmlns")
fixme:msxml:domdoc_createNode refuses to bind prefix "xmlns" to URI L"http://www.winehq.org/" instead of L"http://www.w3.org/2000/xmlns/"
FAIL <-- createNode (type = NODE_ATTRIBUTE, attr = "xmlns", nsURI = "http://www.winehq.org/")
fixme:msxml:domdoc_createNode refuses to bind prefix "xmlns" to URI L"http://www.winehq.org/" instead of L"http://www.w3.org/2000/xmlns/"
FAIL <-- createNode (type = NODE_ATTRIBUTE, attr = "xmlns:foo", nsURI = "http://www.winehq.org/")
fixme:msxml:domdoc_createNode won't allow URI L"http://www.w3.org/2000/xmlns/" for attribute L"myprefix" -- reserved for prefix "xmlns".
FAIL <-- createNode (type = NODE_ATTRIBUTE, attr = "myprefix", nsURI = "http://www.w3.org/2000/xmlns/")
fixme:msxml:domdoc_createNode won't allow URI L"http://www.w3.org/2000/xmlns/" for attribute L"gnus:gnats" -- reserved for prefix "xmlns".
FAIL <-- createNode (type = NODE_ATTRIBUTE, attr = "gnus:gnats", nsURI = "http://www.w3.org/2000/xmlns/")
fixme:msxml:domdoc_createNode attribute nodes with namespaces not yet fully supported.
ok <-- createNode (type = NODE_ATTRIBUTE, attr = "myprefix", nsURI = "http://www.w3.org/2000/xmlns")
fixme:msxml:domdoc_createNode attribute nodes with namespaces not yet fully supported.
ok <-- createNode (type = NODE_ATTRIBUTE, attr = "gnus:gnats", nsURI = "http://www.w3.org/2000/xmlns")
s��n jun 24 22:03:26 CEST 2012