XML declaration not removed from XHTML output

nwowpowerll

New Member
I'm starting to learn JavaServer Faces (JSF). I'm using GlassFish 3+. I've just created a new JSF project in NetBeans and run the project. It worked fine, but upon examining the XHTML output, I noticed the XML declaration was left in. This messes up the DOCTYPE declaration (which is always supposed to be first in the document).
ly5VA.jpg
Is JSF supposed to remove the XML declaration, or is there something I've done wrong?
 
Back
Top