From 6bc00e701cf42af7000dcc47425e41e5b2600e1a Mon Sep 17 00:00:00 2001 From: Ren RenJuan Date: Mon, 27 Jan 2014 04:02:34 +0000 Subject: [PATCH] * --- ACTK1_0/se/LPE/LPChkRespExtension.cpp | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/ACTK1_0/se/LPE/LPChkRespExtension.cpp b/ACTK1_0/se/LPE/LPChkRespExtension.cpp index 786d93d..e66d091 100644 --- a/ACTK1_0/se/LPE/LPChkRespExtension.cpp +++ b/ACTK1_0/se/LPE/LPChkRespExtension.cpp @@ -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()); - } }