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

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