In another version of the game, a "charmed" or otherwise forced spell caster could not be compelled (ie. "casting under duress") to cast spells.
In 3.5, assuming a failed save, is there anything that would prevent the victim of, say, a domination spell, to cast a spell on behalf of the...