1. Added xml syntax check via python script just for the win32 debug build because there already the functionlist check happens. 2. Fixed an issue found for perl. Fix #9330, close #9339