2 Oct
2025
2 Oct
'25
12:46 p.m.
Nikolay Sivov (@nsivov) commented about dlls/msxml3/element.c:
+ ns = xmlSearchNs(node->doc, node, local); + xmlFree(local); + if (!ns) + { + if (item) *item = NULL; + return item ? S_FALSE : E_INVALIDARG; + } + + curr = xmlNewNsProp(NULL, NULL, ns->prefix, ns->href); + if (!curr) + { + return E_OUTOFMEMORY; + } + curr->doc = node->doc; + + unk = create_attribute((xmlNodePtr)curr, FALSE); Why do we need to create a new node at libxml level?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8914#note_117410