Zhang Wenming became a monk at age 14 and was an admirer of Faxian and Xuanzang, both famed monks of his childhood.
In the year 687, Yijing stopped in the kingdom of Srivijaya on his way back to Tang China.