Namespace handling fixes
[shibboleth/cpp-xmltooling.git] / xmltooling / AbstractXMLObject.h
index c3aa289..9a00401 100644 (file)
@@ -141,6 +141,7 @@ namespace xmltooling {
          * \r
          * @param namespaceURI the namespace the element is in\r
          * @param elementLocalName the local name of the XML element this Object represents\r
+         * @param namespacePrefix the namespace prefix to use\r
          */\r
         AbstractXMLObject(const XMLCh* namespaceURI=NULL, const XMLCh* elementLocalName=NULL, const XMLCh* namespacePrefix=NULL)\r
             : m_elementQname(namespaceURI,elementLocalName, namespacePrefix), m_typeQname(NULL), m_parent(NULL) {\r
@@ -152,12 +153,16 @@ namespace xmltooling {
          * Manages the lifetime of the children.\r
          */\r
         std::list<XMLObject*> m_children;\r
+\r
+        /**\r
+         * Set of namespaces associated with the object.\r
+         */\r
+        std::set<Namespace> m_namespaces;\r
         \r
     private:\r
         XMLObject* m_parent;\r
         QName m_elementQname;\r
         QName* m_typeQname;\r
-        std::set<Namespace> m_namespaces;\r
     };\r
 \r
 };\r