Description
It is not possible to use .view.xml as extension for a composite component.
In theory it should check all suffixes registered on javax.faces.DEFAULT_SUFFIX param (by default ".xhtml .view.xml .jsp"). For a component (for example, testcc:simpleCompositeComponent) as resource names it should be checked simpleCompositeComponent.xhtml and simpleCompositeComponent.view.xml but not simpleCompositeComponent.jsp. To differentiate the last case, it should check if facelets vdl could handle the extension, checking javax.faces.FACELETS_VIEW_MAPPINGS param name or javax.faces.FACELETS_SUFFIX param name.