Fix assertion in xmlparse and call this function with more care
Fix assertion in xmlparse and call this function with more care

Plus change range to [nStart,nEnd).

Change-Id: I1570d07fdc90a6b2bdf3eef7914958212cbbaa87

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core