Details
Description
While I was testing the new head functionality I recognized an error which has not influenced browsers but influences my parsing routines (which rely on valid xhtml/xml markup for the head processing)
<h:head>
<script type="text/javascript"><!--
var myCounterVar = Math.floor(Math.random() * 11)
//--></script>
</h:head>
renders on the browser
<script type="text/javascript"><!--
<!--
var myCounterVar = Math.floor(Math.random() * 11)
//-->
//--></script
As you can see <!-- becomes <!-<!-
and //-> becomes //> //->
while this is fine for a javascript processor it is not for a parser which has to rely on valid markup.