move xml-literal handling into TK_STRING section
more tests + robustness fix for unterminated xml literal