Xerces 3 revisions.
[shibboleth/cpp-xmltooling.git] / xmltooling / impl / UnknownElement.cpp
index 83ba6b8..b1bc80f 100644 (file)
 
 #include "internal.h"
 #include "exceptions.h"
+#include "logging.h"
 #include "impl/UnknownElement.h"
 #include "util/NDC.h"
 #include "util/XMLHelper.h"
 
-#include <log4cpp/Category.hh>
 #include <xercesc/framework/MemBufInputSource.hpp>
 #include <xercesc/framework/Wrapper4InputSource.hpp>
 #include <xercesc/util/XMLUniDefs.hpp>
 
+using namespace xmltooling::logging;
 using namespace xmltooling;
-using namespace log4cpp;
+using namespace xercesc;
 using namespace std;
+#ifndef XMLTOOLING_NO_XMLSEC
 using xmlsignature::Signature;
+#endif
 
 void UnknownElementImpl::releaseDOM() const
 {
@@ -202,7 +205,7 @@ XMLObject* UnknownElementImpl::unmarshall(DOMElement* element, bool bindDocument
 }
 
 XMLObject* UnknownElementBuilder::buildObject(
-    const XMLCh* nsURI, const XMLCh* localName, const XMLCh* prefix, const QName* schemaType
+    const XMLCh* nsURI, const XMLCh* localName, const XMLCh* prefix, const xmltooling::QName* schemaType
     ) const {
     return new UnknownElementImpl(nsURI,localName,prefix);
 }