Ok, this seem to be enough to break it for me (sorry about the formatting). I'm running inside eclipse on a standard tomcat6 runtime with yesterdays nightly build of mojarra.
The composite component:
/resources/components/test/test.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml"
xmlns:h="
http://java.sun.com/jsf/html"
xmlns:cc="
http://java.sun.com/jsf/composite">
<head/>
<body>
<cc:interface>
<cc:attribute name="value" required="true" type="String"/>
</cc:interface>
<cc:implementation>
<h:outputStylesheet target="head">/*a.css*/</h:outputStylesheet>
<h:outputStylesheet target="head">/*b.css*/</h:outputStylesheet>
<h:outputStylesheet target="head">/*c.css*/</h:outputStylesheet>
<h:outputScript target="head">/*a.js*/</h:outputScript>
<h:outputScript target="head">/*b.js*/</h:outputScript>
<h:outputScript target="head">/*c.js*/</h:outputScript>
</cc:implementation>
</body>
</html>
The facelet page using the composite component.
/main.xhtml
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml"
xmlns:f="
http://java.sun.com/jsf/core"
xmlns:h="
http://java.sun.com/jsf/html"
xmlns:ez="
http://java.sun.com/jsf/composite/components/test">
<h:head/>
<h:body>
<h:form>
<ez:test value="Test Value"/>
</h:form>
</h:body>
</html>
And this is the result:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml"><head><style type="text/css">/*a.css*/</style><style type="text/css">/*c.css*/</style><script type="text/javascript">/*b.js*/</script></head><body>
<form id="j_id-1723811066_66bf44b9" name="j_id-1723811066_66bf44b9" method="post" action="/jsf2demo/test2.jsf" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="j_id-1723811066_66bf44b9" value="j_id-1723811066_66bf44b9" />
<style type="text/css">/*b.css*/</style><script type="text/javascript">/*a.js*/</script><script type="text/javascript">/*c.js*/</script><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="-3584352700140722214:-5228987411169359805" autocomplete="off" />
</form></body>
</html>
[Message sent by forum member 'janderssn' (janderssn)]
http://forums.java.net/jive/thread.jspa?messageID=351128