danielgary / xmlrpcnet

Automatically exported from code.google.com/p/xmlrpcnet
0 stars 0 forks source link

Two CF Bugs #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Bugs reports by Mickael Gaillard:

I found 2 bug in your API (2.3.2)  for CF platform:

in XmlRpcSerializer.cs file at line 1793 :
    XmlNode SelectSingleNode(XmlNode node, string name)
    {
#if (COMPACT_FRAMEWORK)
      XmlNodeList nodes = node.ChildNodes;
      for (int i = 0; i < nodes.Count; i++)
      {
        // For "*" element else return null
        if ((name == "*") && !(nodes[i].Name.StartsWith("#")))
            return nodes[i];

        if (nodes[i].Name == name)
          return nodes[i];
      }
      return null;
#else
      return node.SelectSingleNode(name);
#endif
    }

in XmlRpcFaultException.cs at line 29
#if (!COMPACT_FRAMEWORK)
  using System.Runtime.Serialization;
#endif

Original issue reported on code.google.com by edwardfo...@gmail.com on 10 Sep 2008 at 6:15

GoogleCodeExporter commented 8 years ago
Fixed in revision 74.

Original comment by ChasC...@gmail.com on 19 Dec 2008 at 3:39