Bonjour à tous,
bon j'utilise xhtml pour le développement d'un site web en java et à chaque fois le navigateur me sort la même erreur lié à une balise <div> "soit disant" pas fermée.
voila l'erreur:
Error Parsing /layout/template.xhtml: Error Traced[line: 15] The element type "div" must be terminated by the matching end-tag "</div>".
voici la page template.xhtml:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!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:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>e-OMMP</title>
	<link rel="stylesheet" type="text/css" href="/stylesheet/ommp_styles.css" media="screen" />
</head>
<body style="scrolling-x: no !important;">
	<div id="page">
		<ui:include src="/layout/header.xhtml" /></ui:include>
		<div id="container">
			<div><ui:include src="/layout/left.xhtml" /></ui:include></div>
			<div class="contenu"><ui:insert name="body" /></div>
		</div>
		<ui:include src="/layout/footer.xhtml" /></ui:include>
	</div>
</body>
</html>
et voici la page header.xhtlm:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:rich="http://richfaces.org/rich">
 
	<div id="header-top">
		<div class="langDate">
			<div class="anglais"><s:link><h:graphicImage value="/img/flag-en.gif" />English</s:link></div>
			<div class="separateur"><h:graphicImage value="/img/sep.jpg" alt="separateur" style=" width : 2px;" /></div>
			<div class="arabe"><s:link><h:graphicImage value="/img/flag-tn.gif" />Arabe</s:link></div>
			<div class="dateCol">Mardi 25 Mars 2008 / 10:17</div>
		</div>
		<div><s:link action="#"><img src="/img/logo.jpg" border="0" /></s:link></div>
	</div>
	<div class="logo"></div>
	<div class="banner" align="center">
		<div class="banner-arrondie"></div>
		<h:graphicImage value="/img/banner1.jpg" alt="banner" /></div>
	<div class="lien-top">
		<div class="bt"><s:link><img border="0" alt="accueil" src="/img/bt-acc.gif"></img></s:link></div>
		<div class="bt"><s:link><img border="0" alt="contact" src="/img/bt-contact.gif"></img></s:link></div>
		<div class="liens">
			<div class="bt1"><s:link><img border="0" alt="epave" src="/img/bt-epave.gif"></img></s:link></div>
			<div class="bt1"><s:link><img border="0" alt="mer" src="/img/bt-mer.gif"></img></s:link></div>
			<div class="bt1"><s:link><img border="0" alt="flotte" src="/img/bt-flotte.gif"></img></s:link></div>
			<div class="bt1"><s:link><img border="0" alt="securite" src="/img/bt-securite.gif"></img></s:link></div>
		</div>
	</div>
 
</ui:composition>
je précise que la ligne 15 en question contient un include vers la page header.xhtml
merci d'avance pour votre aide.