2 Mar
2026
2 Mar
'26
3:24 p.m.
Test that loadXML() and load() correctly handle XML documents with embedded <?xml?> declarations inside elements. Windows MSXML rejects these documents (returns S_FALSE), while Wine's patched libxml2 tolerates them and emits the embedded content as text nodes.
This part is the problem. Tests included here do not point to an issue, but show that such documents are invalid both on Windows, and currently on Wine. We should not make them valid on Wine. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10225#note_131003