Community
Participate
Working Groups
Currently the validator for Facelets validates all html files in >= JSF2.0 project. This could cause significant performance problems in the projects that have large numbers of HTML files that are not involved with Facelets.
Created attachment 170373 [details] Changes the validator criteria to the Facelet content type. Also changes the id of the Facelet content types to the recommended fully qualified format.
There is a separate bug open for content type ID prefix. See bug 314178. I suggest tracking the two issues separately, as adopters would need to react to ID change, and it's hard to monitor when IDs are being changed under covers of a different issue.
Created attachment 170419 [details] Broken out just the validator part of the patch. Move the rest to blocking bug.
* Explain why you believe this is a stop-ship defect. Or, if it is a "hotbug" (requested by an adopter) please document it as such. This is a stop-ship bug. For projects with JSF 2.0 facets, this bug will result in bad performance since the JSF Validator will validate all html files in the project and not just those that have JSF 2.0 tags. * Is there a work-around? If so, why do you believe the work-around is insufficient? No reasonable workaround * How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added? Code review and manual testing. * Give a brief technical overview. Who has reviewed this fix? See comment 1 * What is the risk associated with this fix? low-medium
Sounds like an important fix. Can you make it using the "old" contentType IDs?
We will redo the patch with existing content type id.
Created attachment 170671 [details] Same patch but with the current content type id used for Facelets.
Patch applied to HEAD (3.2RC4).