water in gas,starts and shuts off,can not make it continue on 1998 Jaguar XJR

tank filled with water,drained tank,replaced fuel filter,removed vaulve on fuel rail,switched key on and off pumping out fuel rail,will not stay running,starts right up

Asked by for the 1998 Jaguar XJR
get diag and est before jumping to conclusions
ok thanks for your help