From: Scott Cantor Date: Wed, 30 Jan 2008 03:39:01 +0000 (+0000) Subject: Override default package for path resolution. X-Git-Tag: 2.0.0~14 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=commitdiff_plain;h=afd36d75830cdcf970d3f017902eefc808f7f282 Override default package for path resolution. --- diff --git a/saml/SAMLConfig.cpp b/saml/SAMLConfig.cpp index 78f7e0f..f5082b8 100644 --- a/saml/SAMLConfig.cpp +++ b/saml/SAMLConfig.cpp @@ -54,6 +54,7 @@ #include #include #include +#include #include #include @@ -118,6 +119,7 @@ bool SAMLInternalConfig::init(bool initXMLTooling) if (initXMLTooling) XMLToolingConfig::getConfig().init(); + XMLToolingConfig::getConfig().getPathResolver()->setDefaultPackageName("opensaml"); REGISTER_XMLTOOLING_EXCEPTION_FACTORY(ArtifactException,opensaml); REGISTER_XMLTOOLING_EXCEPTION_FACTORY(SecurityPolicyException,opensaml);