I can't give you a straight answer without testing your car; At first I would ask what kind of scheduled maintenance has been done, IE fuel filter, injection service, tune up, are just a few. At this point I can just suggest you have someone take a look at it to be sure.
RepairPal Certified shops can diagnose and repair your 2002 Jaguar X-Type. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.