// Look for response.
if (NodeFound == false){ return UserPrincipalURI; } else { NodeFound = false; }
- NodeFound = MatchXMLName(&NodeSeek, "response");
+ NodeFound = MatchXMLNameTransverse(&NodeSeek, "response");
// Look for propstat.
if (NodeFound == false){ return UserPrincipalURI; } else { NodeFound = false; }
- NodeFound = MatchXMLName(&NodeSeek, "propstat");
+ NodeFound = MatchXMLNameTransverse(&NodeSeek, "propstat");
// Look for prop.
if (NodeFound == false){ return UserPrincipalURI; } else { NodeFound = false; }
- NodeFound = MatchXMLName(&NodeSeek, "prop");
+ NodeFound = MatchXMLNameTransverse(&NodeSeek, "prop");
// Look for current-user-principal.
if (NodeFound == false){ return UserPrincipalURI; } else { NodeFound = false; }
- NodeFound = MatchXMLName(&NodeSeek, "current-user-principal");
+ NodeFound = MatchXMLNameTransverse(&NodeSeek, "current-user-principal");
// Look for href.
if (NodeFound == false){ return UserPrincipalURI; } else { NodeFound = false; }
- NodeFound = MatchXMLName(&NodeSeek, "href");
+ NodeFound = MatchXMLNameTransverse(&NodeSeek, "href");
// Get the data from href.
// Look for response.
if (NodeFound == false){ return CalendarHomeURI; } else { NodeFound = false; }
- NodeFound = MatchXMLName(&NodeSeek, "response");
+ NodeFound = MatchXMLNameTransverse(&NodeSeek, "response");
// Look for propstat.
if (NodeFound == false){ return CalendarHomeURI; } else { NodeFound = false; }
- NodeFound = MatchXMLName(&NodeSeek, "propstat");
+ NodeFound = MatchXMLNameTransverse(&NodeSeek, "propstat");
// Look for prop.
if (NodeFound == false){ return CalendarHomeURI; } else { NodeFound = false; }
- NodeFound = MatchXMLName(&NodeSeek, "prop");
+ NodeFound = MatchXMLNameTransverse(&NodeSeek, "prop");
// Look for calendar-home-set.
if (NodeFound == false){ return CalendarHomeURI; } else { NodeFound = false; }
- NodeFound = MatchXMLName(&NodeSeek, "calendar-home-set");
+ NodeFound = MatchXMLNameTransverse(&NodeSeek, "calendar-home-set");
// Look for href.
if (NodeFound == false){ return CalendarHomeURI; } else { NodeFound = false; }
- NodeFound = MatchXMLName(&NodeSeek, "href");
+ NodeFound = MatchXMLNameTransverse(&NodeSeek, "href");
// Get the data from href.
}
-bool CalDAV::MatchXMLName(xmlNodePtr *NodePtr, string NodeName){
+bool CalDAV::MatchXMLNameTransverse(xmlNodePtr *NodePtr, string NodeName){
string NodeNameSmallD = "d:" + NodeName;
string NodeNameLargeD = "D:" + NodeName;