Kashmir is divided between India and Pakistan , but claimed in its entirety by both .