I have been cleaning my XD with hoppes for years. I even use contact cleaner as long as it's safe for plastics and doesn't contain chlorine. I wouldn't soak the frame in either over night or anything but if you put a few drops on a brush and clean the mag well or something and then wipe it down, you'll be fine. Hoppes will not damage polymer.
If the pain is lacking so is the discipline...
"the only 911 call I need is chambering a round" - Mr. Muller, MO car dealer