India is a secular country because of its ancient, pluralistic and catholic Vedic traditions, now reflected through its Constitution. Yet Islamic orthodoxy is able to threaten its members into falling in line with its own warped version of conduct, including the dress code writ in its religious laws. In such situations, the 'secularists' generally either remain silent or line up with the fundamentalist sections, a la the Shah Bano case, the Vande Materam debate...the list is endless.
Religious scriptures (of all faiths) generally reflect the wisdom and noble sentiments of the period and socio-geographical milieu in which they were "revealed" or composed. No doubt most of the wisdom in the scriptures is ageless and eternal and helps the faithful evolve as better human beings. However, it's true that some parts of the "holy books" have become outdated and are inconsistent with contemporary times and values.