The Chatam Sofer provides an interesting and creative answer to a question in the Gemara. His answer comes from an approach in which the Neviim could not have erred. This reminds me of the Abravanel who had to explain all the scribal errors in Jeremiah as resulting from his lacking in formal education. Of course, the difficulty of that is that Jeremiah is also the attributed scribe of other Biblical works containing few errors.
The Gemara, assuming a uniformity for dating of events in the Jewish past, “(Taanis 28b) asks why we fast on 17 Tammuz if in Sefer Yirmiyahu it says that the walls of Yerushalayim were breached on the 9th of Tammuz and not on the 17th. The Gemara answers that the walls were breached on the 9th during Churban Bayis Rishon and on the 17th during Churban Bayis Sheni. Since we are in Galus from Churban Bayis Sheni, we fast on the 17th.”