Fixed bug #10950: XML prologue always after doctype declaration in BE template building