Simple xy validation