Need to pass NULL into namespace lookup function for default namespace.
authorScott Cantor <cantor.2@osu.edu>
Mon, 30 Apr 2007 18:14:28 +0000 (18:14 +0000)
committerScott Cantor <cantor.2@osu.edu>
Mon, 30 Apr 2007 18:14:28 +0000 (18:14 +0000)
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);
             }
         }
     }