X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=xmltooling%2Futil%2FXMLConstants.cpp;h=232c8d59c132d7802a5ba5cab8002c58d54fadbd;hb=f48caaeb67b63f254ea29ab55b883dc38a6f1761;hp=72ab14f1b7e5a4c7f4c858235c92b9e0eec5a224;hpb=676c0279ec7584dbb046c84ed9768c726afc009d;p=shibboleth%2Fcpp-xmltooling.git diff --git a/xmltooling/util/XMLConstants.cpp b/xmltooling/util/XMLConstants.cpp index 72ab14f..232c8d5 100644 --- a/xmltooling/util/XMLConstants.cpp +++ b/xmltooling/util/XMLConstants.cpp @@ -25,7 +25,6 @@ #include "util/XMLConstants.h" #include -using namespace xercesc; using namespace xmltooling; const XMLCh XMLConstants::XML_NS[] = // http://www.w3.org/XML/1998/namespace @@ -82,3 +81,30 @@ const XMLCh XMLConstants::XMLENC_NS[] = // http://www.w3.org/2001/04/xmlenc# }; const XMLCh XMLConstants::XMLENC_PREFIX[] = { chLatin_x, chLatin_e, chLatin_n, chLatin_c, chNull }; + +const XMLCh XMLConstants::SOAP11ENV_NS[] = // http://schemas.xmlsoap.org/soap/envelope/ +{ chLatin_h, chLatin_t, chLatin_t, chLatin_p, chColon, chForwardSlash, chForwardSlash, + chLatin_s, chLatin_c, chLatin_h, chLatin_e, chLatin_m, chLatin_a, chLatin_s, chPeriod, + chLatin_x, chLatin_m, chLatin_l, chLatin_s, chLatin_o, chLatin_a, chLatin_p, chPeriod, + chLatin_o, chLatin_r, chLatin_g, chForwardSlash, + chLatin_s, chLatin_o, chLatin_a, chLatin_p, chForwardSlash, + chLatin_e, chLatin_n, chLatin_v, chLatin_e, chLatin_l, chLatin_o, chLatin_p, chLatin_e, chForwardSlash, chNull +}; + +const XMLCh XMLConstants::SOAP11ENV_PREFIX[] = UNICODE_LITERAL_1(S); + +const XMLCh XMLConstants::XMLTOOLING_NS[] = // http://www.opensaml.org/xmltooling +{ chLatin_h, chLatin_t, chLatin_t, chLatin_p, chColon, chForwardSlash, chForwardSlash, + chLatin_w, chLatin_w, chLatin_w, chPeriod, + chLatin_o, chLatin_p, chLatin_e, chLatin_n, chLatin_s, chLatin_a, chLatin_m, chLatin_l, chPeriod, + chLatin_o, chLatin_r, chLatin_g, chForwardSlash, + chLatin_x, chLatin_m, chLatin_l, chLatin_t, chLatin_o, chLatin_o, chLatin_l, chLatin_i, chLatin_n, chLatin_g, chNull +}; + +const XMLCh XMLConstants::XML_TRUE[] = { chLatin_t, chLatin_r, chLatin_u, chLatin_e, chNull }; + +const XMLCh XMLConstants::XML_FALSE[] = { chLatin_f, chLatin_a, chLatin_l, chLatin_s, chLatin_e, chNull }; + +const XMLCh XMLConstants::XML_ONE[] = { chDigit_1, chNull }; + +const XMLCh XMLConstants::XML_ZERO[] = { chDigit_0, chNull };