This commit is contained in:
Ren RenJuan 2014-01-27 04:02:34 +00:00
parent b0d8fbacd7
commit 6bc00e701c
1 changed files with 11 additions and 10 deletions

View File

@ -24,17 +24,18 @@ LPChkRespExtension::LPChkRespExtension() : typeIsClaims(true)
void LPChkRespExtension::fromXML(XMLDocument *xmlDoc)
{
const std::string respElement = CKCLAIM_EXPR();
const XalanNode * responSE = xmlDoc->getElement(respElement);
const std::string respAttr("exists");
if (!responSE) {
mdLog.logN(0,"Parse error in LPChkResponse");
}
else {
if (responSE->getAttributes()) {}
try {
const XalanNode * response = xmlDoc->getElement(respElement);
if (response) {
}
}
catch(std::exception e)
{
mdLog.logN(1,"%s.",e.what());
}
}