http://bugs.winehq.org/show_bug.cgi?id=8107
--- Comment #18 from Patrick Leamon pleamonhp@yahoo.com.au 2009-10-19 02:08:35 --- Ok, sorry again for more mail but I think I understand it now. Wine only has a stubbed implementation of namespaces:
fixme:msxml:schema_cache_add (0x137110)->(L"x-schema:CIV4GameInfoSchema.xml", var(vt 9)): stub
So to fix this bug we would have to store the namespaces supplied to this call and then use those namespaces in any xpath we run. The function to do this in libxml2 is: http://xmlsoft.org/html/libxml-xpathInternals.html#xmlXPathRegisterNs
However libxml2 doesn't allow a default namespace to be registered for xpath, where msxml3 seems to be fine with that. So even if namespaces weren't stubbed, it wouldn't fix Civ 4 anyway.
So to fix Civ 4 we'd need: - non stubbed namespace implementation - libxml2 to support default namespaces for xpath (which I'm not sure they'd accept - http://mail.gnome.org/archives/xml//2001-December/msg00074.html)