parser xml UPDATE hints for elements without a value

Fixes #2068
diff --git a/src/parser_xml.c b/src/parser_xml.c
index 1914e76..af49f3d 100644
--- a/src/parser_xml.c
+++ b/src/parser_xml.c
@@ -447,8 +447,8 @@
     *anchor = NULL;
 
     if (!value_len) {
-        /* no value */
-        *hints |= LYD_VALHINT_EMPTY;
+        /* no value but it may also be zero-length string */
+        *hints |= LYD_VALHINT_EMPTY | LYD_VALHINT_STRING;
     } else if (!strncmp(value, "true", value_len) || !strncmp(value, "false", value_len)) {
         /* boolean value */
         *hints |= LYD_VALHINT_BOOLEAN;