TL;DR: I can\'t get the DOCTYPE header to appear on my JSF pages.
I just inherited a JSF 1.2 project that\'s having some display issues under IE. I\
Remove from your master template, which is the headertemplate.xhtml. It doesn't belong there. The will strip all other content outside the tag.
Note that the doctype (and xml) declaration is unnecessary in template definition files (the ones using ). Just remove them.