On the XmlRpcValue::fromXml() function: . .
if (typeTag == BOOLEAN_TAG) ... else if (typeTag == I4_TAG || typeTag == INT_TAG) ... else if (typeTag == DOUBLE_TAG) ... else if (typeTag.empty() || typeTag == STRING_TAG) ... i have add this ...
//where: //static const char STRING2_TAG[] = "<string/>";
else if (typeTag.empty() || typeTag == STRING2_TAG) { result = stringFromXml(valueXml, offset); }
to solve the problem of the xml response with the <string/> tag.
[]'s
Log in to post a comment.
On the XmlRpcValue::fromXml() function:
.
.
if (typeTag == BOOLEAN_TAG)
...
else if (typeTag == I4_TAG || typeTag == INT_TAG)
...
else if (typeTag == DOUBLE_TAG)
...
else if (typeTag.empty() ||
typeTag == STRING_TAG)
...
i have add this ...
//where:
//static const char STRING2_TAG[] = "<string/>";
else if (typeTag.empty() ||
typeTag == STRING2_TAG)
{
result = stringFromXml(valueXml, offset);
}
to solve the problem of the xml response with the <string/> tag.
[]'s