A method of detecting defects in a textile web