http://bugs.winehq.org/show_bug.cgi?id=16239
Mike Kaplinskiy mike.kaplinskiy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mike.kaplinskiy@gmail.com
--- Comment #3 from Mike Kaplinskiy mike.kaplinskiy@gmail.com 2009-08-16 18:32:14 --- The cause is the designer's invalid use of XPath and microsoft supporting it, as well as a wine bug.
The installer defines an xml with namespaces: <?xml version="1.0" encoding="UTF-8"?> <skin_info xmlns="http://cakepoker.com/cakepokerclient/2008/05/EN" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://cakepoker.com/cakepokerclient/2008/05/EN ../SkinXMLSchema.xsd">
But then uses xpath without namespaces: trace:msxml:xmlnode_selectSingleNode 0x1432c0 L"//ClientSettings[((@Language="EN") or not(@Language))]/@ProductName" 0x32fbc8
This is illegal xpath since you have to specify a namespace for ClientSettings (according to libxml2: ClientSettings will be in the ``null'' namespace and not the default namespace). Wine actually doesn't define any namespaces before doing the xpath query (even those present in the document) so no xpath query with namespaced documents should work right now. But even once that is fixed, this won't work either.
There is no easy way to work around this without rewriting the passed xpath and adding some sort of namespace instead of the null namespace.