Mantis - Resin
Viewing Issue Advanced Details
5485 major always 07-09-13 01:12 07-24-13 09:40
cyttesen  
ferg  
normal  
closed 4.0.36  
fixed  
none    
none 4.0.37  
0005485: <!DOCTYPE html> omitted from output using templates, mojarra 2.1.15
Having a template starting with:

<!DOCTYPE html>
<html xmlns="http://www.w3c.org/1999/xhtml" [^] ...>

And rendering it using the distributed javax.faces-2.1.15.jar omits the doctype declaration when viewing source.

Replacing lib/javax.faces-2.1.15.jar with lib/javax.faces-2.1.23.jar the doctype is correctly outputted again.

My webapplication is bundled with javax.faces-2.1.23.jar however that seems to have no effect. I recall it being mentioned earlier that it is possible for a webapp to bundle its own versions of e.g JSF? (http://bugs.caucho.com/view.php?id=4573) [^]
Activity around this issue is noted on java.net here:
https://java.net/jira/browse/JAVASERVERFACES-2453?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel [^]

There are no notes attached to this issue.