X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=xmltooling%2FAbstractXMLObject.h;h=3b41d6d7d0d0316c4b1e7e60104bdfaf16e8c902;hb=64dcaec957e9befd960779498d7fe35bbb62141a;hp=4df58e4d3df8bf9457fd066b7e9cad0ac4c4b6fa;hpb=5cb314df178f78c6fa7b9826c2c5a5298ec7a473;p=shibboleth%2Fcpp-xmltooling.git diff --git a/xmltooling/AbstractXMLObject.h b/xmltooling/AbstractXMLObject.h index 4df58e4..3b41d6d 100644 --- a/xmltooling/AbstractXMLObject.h +++ b/xmltooling/AbstractXMLObject.h @@ -15,7 +15,7 @@ */ /** - * @file AbstractXMLObject.h + * @file xmltooling/AbstractXMLObject.h * * An abstract implementation of XMLObject. */ @@ -23,11 +23,10 @@ #ifndef __xmltooling_abstractxmlobj_h__ #define __xmltooling_abstractxmlobj_h__ +#include #include #include -#include - #if defined (_MSC_VER) #pragma warning( push ) #pragma warning( disable : 4250 4251 ) @@ -47,7 +46,8 @@ namespace xmltooling { public: virtual ~AbstractXMLObject() { delete m_typeQname; - XMLString::release(&m_schemaLocation); + xercesc::XMLString::release(&m_schemaLocation); + xercesc::XMLString::release(&m_noNamespaceSchemaLocation); } void detach(); @@ -194,13 +194,18 @@ namespace xmltooling { /** * Logging object. */ - log4cpp::Category& m_log; + logging::Category& m_log; /** * Stores off xsi:schemaLocation attribute. */ XMLCh* m_schemaLocation; + /** + * Stores off xsi:noNamespaceSchemaLocation attribute. + */ + XMLCh* m_noNamespaceSchemaLocation; + private: XMLObject* m_parent; QName m_elementQname;