Proper XML result validation