update behavior of KVMessage

when parsing xml without prologue, no exception will be thrown.