Need to pass NULL into namespace lookup function for default namespace.
authorcantor <cantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Mon, 30 Apr 2007 18:14:28 +0000 (18:14 +0000)
committercantor <cantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Mon, 30 Apr 2007 18:14:28 +0000 (18:14 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/trunk@297 de75baf8-a10c-0410-a50a-987c0e22f00f

xmltooling/util/XMLHelper.cpp

index cf4f5ed..2ef4ecb 100644 (file)
@@ -60,7 +60,7 @@ QName* XMLHelper::getXSIType(const DOMElement* e)
                 return ret;
             }
             else {
-                return new QName(e->lookupNamespaceURI(&chNull), attributeValue);
+                return new QName(e->lookupNamespaceURI(NULL), attributeValue);
             }
         }
     }