there is a diagnose only
TSB for the 2005 vehicles that suffer from this

http://www.xkjeeps.com/TSB/tsb_xk_1400109a.pdf

my mother's 2005 3.3 minivan developed this same problem suddenly at about 50,000 miles and 7.25 years, just past the 7 year extended warranty she bought which would have covered the $700 tank replacement.

the suggestion to put a large internal volume fuel filter in the vacuum line to the purge solenoid sounds like it might have potential as a fix.

even better might be a large vacuum reservoir like you see on some commercial trucks