Web:PageWithoutTitleCheck false positive for JSF components

Sonar version: 7.9.1.27448
SonarHTML version: 3.2 (build 2082)

Observed error:

Files containing JSF composite components are analyzed and probably considered as standard web pages, thus rule says it should contain title tag, which in this case doesn’t make any sense. Sample file:

<?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:cc="http://java.sun.com/jsf/composite"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:pt="http://xmlns.jcp.org/jsf/passthrough"
    xmlns:p="http://primefaces.org/ui"
    xmlns:o="http://omnifaces.org/ui"
 >

<cc:interface>
</cc:interface>

<cc:implementation>
</cc:implementation>

</html>

hello @raffig,

for such case I would recommend to exclude the files from the analysis, as indeed they will not benefit from html rules. They are tailored to standard html files.