Juste quelques erreurs au niveau xhtml, pour l'affichage de la liste des sujets d'un forum (forum.php) :
Il faut remplacer &page= par &page= dans un javascript.
Il faut spécifier type="text/javascript" dans chaque balise <script language="javascript">
Remplacer &marquer=true par &marquer=true
Remplacer OnChange par onchange (pas de majuscules).
Et ça devrait être bon pour le xhtml 1.0 transitional
Citation
1. Line 92, column 121: cannot generate system identifier for general entity "page"
...) { location.href="forum.php?forum=2&page=" + value; }</script>
2. Line 92, column 121: general entity "page" not defined and no default entity
...) { location.href="forum.php?forum=2&page=" + value; }</script>
3. Line 92, column 125: reference not terminated by REFC delimiter
...location.href="forum.php?forum=2&page=" + value; }</script>
4. Line 92, column 125: reference to entity "page" for which no system identifier could be generated
...location.href="forum.php?forum=2&page=" + value; }</script>
5. Line 92, column 120: entity was defined here
...e) { location.href="forum.php?forum=2&page=" + value; }</script>
6. Line 93, column 29: required attribute "type" not specified
<script language="javascript">
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
7. Line 397, column 45: cannot generate system identifier for general entity "marquer"
...dth="200"><a href="forum.php?forum=2&marquer=true" class="petit"><span class=
8. Line 397, column 45: general entity "marquer" not defined and no default entity
...dth="200"><a href="forum.php?forum=2&marquer=true" class="petit"><span class=
9. Line 397, column 52: reference not terminated by REFC delimiter
...0"><a href="forum.php?forum=2&marquer=true" class="petit"><span class="b">Mar
10. Line 397, column 52: reference to external entity in attribute value
...0"><a href="forum.php?forum=2&marquer=true" class="petit"><span class="b">Mar
This is generally the sign of an ampersand that was not properly escaped for inclusion in an attribute, in a href for example. You will need to escape all instances of '&' into '&'.
11. Line 397, column 52: reference to entity "marquer" for which no system identifier could be generated
...0"><a href="forum.php?forum=2&marquer=true" class="petit"><span class="b">Mar
12. Line 397, column 44: entity was defined here
...idth="200"><a href="forum.php?forum=2&marquer=true" class="petit"><span class
13. Line 398, column 69: there is no attribute "OnChange"
...="forumbox" class="listing" OnChange="if ( this.options[this.selectedIndex].v
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.
...) { location.href="forum.php?forum=2&page=" + value; }</script>
2. Line 92, column 121: general entity "page" not defined and no default entity
...) { location.href="forum.php?forum=2&page=" + value; }</script>
3. Line 92, column 125: reference not terminated by REFC delimiter
...location.href="forum.php?forum=2&page=" + value; }</script>
4. Line 92, column 125: reference to entity "page" for which no system identifier could be generated
...location.href="forum.php?forum=2&page=" + value; }</script>
5. Line 92, column 120: entity was defined here
...e) { location.href="forum.php?forum=2&page=" + value; }</script>
6. Line 93, column 29: required attribute "type" not specified
<script language="javascript">
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
7. Line 397, column 45: cannot generate system identifier for general entity "marquer"
...dth="200"><a href="forum.php?forum=2&marquer=true" class="petit"><span class=
8. Line 397, column 45: general entity "marquer" not defined and no default entity
...dth="200"><a href="forum.php?forum=2&marquer=true" class="petit"><span class=
9. Line 397, column 52: reference not terminated by REFC delimiter
...0"><a href="forum.php?forum=2&marquer=true" class="petit"><span class="b">Mar
10. Line 397, column 52: reference to external entity in attribute value
...0"><a href="forum.php?forum=2&marquer=true" class="petit"><span class="b">Mar
This is generally the sign of an ampersand that was not properly escaped for inclusion in an attribute, in a href for example. You will need to escape all instances of '&' into '&'.
11. Line 397, column 52: reference to entity "marquer" for which no system identifier could be generated
...0"><a href="forum.php?forum=2&marquer=true" class="petit"><span class="b">Mar
12. Line 397, column 44: entity was defined here
...idth="200"><a href="forum.php?forum=2&marquer=true" class="petit"><span class
13. Line 398, column 69: there is no attribute "OnChange"
...="forumbox" class="listing" OnChange="if ( this.options[this.selectedIndex].v
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.
Il faut remplacer &page= par &page= dans un javascript.
Il faut spécifier type="text/javascript" dans chaque balise <script language="javascript">
Remplacer &marquer=true par &marquer=true
Remplacer OnChange par onchange (pas de majuscules).
Et ça devrait être bon pour le xhtml 1.0 transitional







