53009: Problem creating header and footer Task-Url: https://bz.apache.org/bugzilla/show_bug.cgi?id=53009