[Bug 12812] Sid Meier's Civilization 4 version 1.74 crashes

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 20 12:43:35 CDT 2010


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

--- Comment #24 from Adam Martinson <amartinson at codeweavers.com> 2010-09-20 12:43:33 CDT ---
(In reply to comment #23)
> (In reply to comment #22)
> > Option 1: *This is a guess, please test it*
> > Edit the config file (as plain text) and remove the
> > 'xmlns="x-schema:CIV4GameInfoSchema.xml"' declaration.
> > 
> 
> My guess was that such query:
> 
> ---
> Civ4GraphicOptionInfos/GraphicOptionInfos/GraphicOptionInfo
> ---
> 
> fails in XPath mode because of multiple "GraphicOptionInfo" nodes at the same
> level. Probably XPath requires something like this (I didn't check specs
> actually):
> 
> ---
> Civ4GraphicOptionInfos/GraphicOptionInfos/GraphicOptionInfo[1]
> ---

No, the issue is the default xmlns declaration.  XSLPattern syntax doesn't
require you to specify the node's namespace in the query string if it's the
default namespace.  XPath requires you to specify the node's namespace if it
has one.

-- 
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