for strings support we must parse xml entities to its double encoded (PageEncoding->XMLEncoding->utf16(string)) values. Ideally take bytes and string