I ran into this error, and managed to at least bypass it by making mods to libvitamtp, in the datautils.c file, there's two lines that do "xmlReadMemory", the last parameter to these is a 0. I changed this to a 1 to make it continue after encountering an error, and this allowed me to connect...