Add test for XML client data containing "afs" XML prefix namespace
Fix invalid client data when highlight is active or when client data has been truncated