fix false-pos for g_utf8_validate undefined ref
provide information about some defines to eliminate false-positives
update XML
g_tree fix
unref -> use
force initialize value
revert g_utf8_validate
add helper function