Index: trunk/psLib/src/types/psMetadataItemParse.c
===================================================================
--- trunk/psLib/src/types/psMetadataItemParse.c	(revision 8251)
+++ trunk/psLib/src/types/psMetadataItemParse.c	(revision 8257)
@@ -255,5 +255,5 @@
                                   )
 {
-    PS_ASSERT_PTR_NON_NULL(item, psStringCopy(""));
+    PS_ASSERT_PTR_NON_NULL(item, NULL);
 
     switch (item->type) {
@@ -271,8 +271,10 @@
 
     default:
-        psError(PS_ERR_BAD_PARAMETER_TYPE, true, "Item %s (%s) is not of string type (%x) --- treating as "
+        psError(PS_ERR_BAD_PARAMETER_TYPE, true,
+                "Item %s (%s) is not of string type (%x) --- treating as "
                 "undefined.\n", item->name, item->comment, item->type);
-        return psStringCopy("");
-    }
-}
-
+        //        return psStringCopy("");
+        return NULL;
+    }
+}
+
