Honestly I love the Springfield XD....in 9mm. I do NOT enjoy their .40's too much. Mine suffered from a bit of trigger slap and Springy did not repair it when I sent it back.
I've owned 2 or 3 Glock 22's and a 23. Never a problem from any of them, though I did not care for the brisk recoil on the 23, the 22 does not seem to suffer from the same problem.
XD markets their guns as duty ready, but really they aren't, and I'll tell you why:
1.) Weak finish. Police guns get neglected big time and the XD needs some TLC for the most part.
2.) I practically trip over Glock armorers everywhere I go, but if I need an XD fixed? Back to the factory and a week and a half wait, thank you very much.
3.) After market support has gotten much better, but doesn't come close to Glock.
4.) Glock is the stick by which all others are measured. When comparing whether a gun is good or not, a Glock comparison is always somewhere down the line. No other gun can claim that.
5.) The Glock 22 is the most common police pistol since the Colt Peacemaker. There's a lot to be said for that.
6.) The fit and finish between a Glock and XD aren't in the same ball park, the XD is okay but the Glock has a lot more attention to detail. Though neither tops the fit and finish of a Sig Pro.
7.) Glock has proven itself over and over and over again to the point of stupidity. I'm sure the XD can hold up, but that finish sure gets tiring.