27 Aug
2025
27 Aug
'25
4:38 p.m.
On Wed Aug 27 14:48:19 2025 +0000, Jacek Caban wrote:
The only user, `create_document_node` already knows if it's a HTML document from QI. I guess if we'd go with `is_xml`, we could just do something like `strstr(getContentType(), "xml")` in case of HTML document to know if it's XHTML. You mean in every method that needs to special case it? I think that's a bit overkill and might be slow, depending on the prop. I guess I can use a `is_xhtml` flag instead, since that's probably the only one that needs it.
i.e. `html_document != NULL` means HTML. `is_xhtml` means XHTML. Otherwise, it's XML. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8821#note_114004