[Bug 8107] Civilization 4 Warlords fails to start due to XML issues

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 19 02:08:35 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=8107





--- Comment #18 from Patrick Leamon <pleamonhp at 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)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list