X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=xmltooling%2FXMLObjectBuilder.cpp;h=982f6a2f51274147d88ba5bd6fe1a31bc2b7d876;hb=64dcaec957e9befd960779498d7fe35bbb62141a;hp=38d739b14c698f983b6d51b4c82c68268ee1573c;hpb=e7a65d784215bc04355f014141219b3e7ab4559a;p=shibboleth%2Fcpp-xmltooling.git diff --git a/xmltooling/XMLObjectBuilder.cpp b/xmltooling/XMLObjectBuilder.cpp index 38d739b..982f6a2 100644 --- a/xmltooling/XMLObjectBuilder.cpp +++ b/xmltooling/XMLObjectBuilder.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2001-2006 Internet2 + * Copyright 2001-2007 Internet2 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,14 +21,13 @@ */ #include "internal.h" +#include "logging.h" #include "XMLObjectBuilder.h" #include "util/NDC.h" #include "util/XMLHelper.h" -#include - +using namespace xmltooling::logging; using namespace xmltooling; -using namespace log4cpp; using namespace std; map XMLObjectBuilder::m_map; @@ -39,7 +38,7 @@ const XMLObjectBuilder* XMLObjectBuilder::getBuilder(const DOMElement* domElemen #ifdef _DEBUG xmltooling::NDC ndc("getBuilder"); #endif - Category& log=Category::getInstance(XMLTOOLING_LOGCAT".XMLObjectBuilder"); + Category& log=Category::getInstance(XMLTOOLING_LOGCAT".XMLObject.Builder"); auto_ptr schemaType(XMLHelper::getXSIType(domElement)); const XMLObjectBuilder* xmlObjectBuilder = schemaType.get() ? getBuilder(*(schemaType.get())) : NULL;