|
a/libupnpp/soaphelp.cxx |
|
b/libupnpp/soaphelp.cxx |
|
... |
|
... |
153 |
if (in[j] != ';') {
|
153 |
if (in[j] != ';') {
|
154 |
out += in.substr(i);
|
154 |
out += in.substr(i);
|
155 |
return out;
|
155 |
return out;
|
156 |
}
|
156 |
}
|
157 |
string entname = in.substr(i+1, j-i-1);
|
157 |
string entname = in.substr(i+1, j-i-1);
|
158 |
cout << "entname [" << entname << "]" << endl;
|
158 |
//cerr << "entname [" << entname << "]" << endl;
|
159 |
if (!entname.compare("quot")) {
|
159 |
if (!entname.compare("quot")) {
|
160 |
out += '"';
|
160 |
out += '"';
|
161 |
} else if (!entname.compare("amp")) {
|
161 |
} else if (!entname.compare("amp")) {
|
162 |
out += '&';
|
162 |
out += '&';
|
163 |
} else if (!entname.compare("lt")) {
|
163 |
} else if (!entname.compare("lt")) {
|
|
... |
|
... |
279 |
value = ixmlNode_getNodeValue(txtnode);
|
279 |
value = ixmlNode_getNodeValue(txtnode);
|
280 |
}
|
280 |
}
|
281 |
// Can we get an empty value here ?
|
281 |
// Can we get an empty value here ?
|
282 |
if (value == 0)
|
282 |
if (value == 0)
|
283 |
value = "";
|
283 |
value = "";
|
284 |
out[name] = SoapHelp::xmlUnquote(value);
|
284 |
// ixml does the unquoting. Don't call xmlUnquote here
|
|
|
285 |
out[name] = value;
|
285 |
}
|
286 |
}
|
286 |
|
287 |
|
287 |
ret = true;
|
288 |
ret = true;
|
288 |
out:
|
289 |
out:
|
289 |
if (nl)
|
290 |
if (nl)
|