When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.
Either a door latch assembly internal micro switch has failed (you may need a new door latch mechanism), or you have an open circuit within the appropriate wire and harness plugs from the left door "Door ajar" switch through to the GEM (General Electronic control Module).
You can download the schematic for your production year of X-Type by following the "Stickies" at the top of the X-Type forum or by visiting the alternate source of JagRepair.com - Jaguar Repair Information Resource to seek out the schematic.