Fixed bug 723671 add schema revision info to middleware