Either your sunroof drain tubes are clogged which definately could be the problem since you have a sunroof. I dont have a sunroof and had the same problem. The dealer had to re caulk an area of the wind shield on the passenger side as well as the secondary door seals. It fixed the problem for me and no more water inside. It happened about 4 years ago right after I purchased the XK.