In China, India and Pakistan differ on terror