While there is a reason that the Protoevangelium of James is nowhere to be found in our Bibles, the book itself as far as I know has never been deemed officially heretical by the Church. A few of the early Church Fathers, and other individuals within the Church (perhaps even the Pope you mention) have disbelieved the authenticity of the book – however, uncertainity of its
orgins and the validity and/or orthodoxy of what it actually
says are two different things.
The Protoevangelium shows up in a few early canons of Scripture, and along with the Epistle of Barnabas and a few other books, it was one of the “debatable” books that eventually were
not included in the final Bible canon. However, these books were never deemed “wrong” or even “fake”, they were simply deemed to be not
inspired Scripture from God. Historically, they very well could be authentic documents, even written by the people they are attributed to. (Contrary to many of the other extra-Biblical books, the now-famous Gnostic gospels especially)
The Church does not rely on the Protoevangelium for her arguments in certain doctrines and dogmas, however, the Protoevangelium certainly does contain
supportive data for these arguments.
And, while there were (and are) definitely some theologians and others who deny the worth of the book, there are many who do consider the book to be of value (including Scott Hahn today, and way back to St. Jerome, the first translator of the Bible to Latin). It was never on the “banned books” list, and reading it is certainly not forbidden to the faithful, as long as one keeps in mind that it is not to be held to the same infallible standard as the Bible itself.
To read the entire Protoevangelium of James (containing the birth and life of Mary among other things) go to:
earlychristianwritings.com/text/infancyjames-mrjames.html
(Be forewarned – this site has
all the early Christian writings – Biblical, non-Biblical, and Gnostic… it is also not a Catholic site, but is the best resource I have found to get information and texts of the early Christians…)
+veritas+