If I try to use a "prefix" attribute, e.g., <h:head prefix="og: http://ogp.me/ns#">, all I get in the output is <head>.
This appears to violate the standard https://docs.oracle.com/javaee/7/javaserver-faces-2-2/renderkitdocs/HTML_BASIC/javax.faces.Outputjavax.faces.Head.html which says "Any attributes declared on the element must be conveyed unmodified to the rendered output." The above OpenGraph declaration would be an important example of why this is needed. This is with MyFaces 2.2.7, included in TomEE+ 2.0.0. The workaround seems to be to extend HtmlHeadRenderer, as in http://stackoverflow.com/questions/17008526/ .