Suivez les fils RSS
 

Des livres incontournables pour tout maîtriser

  • CSS avancées - vers HTML5 et CSS3
  • HTML5
  • CSS2
  • PHP5 avanc�
  • Memento MySQL
  • Memento CSS 3
  • Memento XHTML
  • WordPress 3 100% pratique
  • jQuery et jQuery UI
Auteur
iwacu
#
Citer
3 Posts
Bonjour
Je valide mon fichier sommaire.html par w3C et je reçois les messages de ce type
Error Line 3, Column 54: character "#" is not allowed in the value of attribute "xml:lang"

…s="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR">

It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.
Line 31, Column 13: character "{" not allowed in attribute specification list

<INCLURE{fond=inc/inc-sommaire-articles}{lang}{self=#SELF}>

et ainsi de suite...
Avez vous sans doute une solution pour moi.
merci beaucoup

^
bzh
#
Citer
1015 Posts
Bonjour,

c'est normal que le validateur râle car tu lui as soumis à validation ton squelette spip/thelia qu'il ne peut pas comprendre.

Il faut lui soumettre le code une fois que celui-ci interprété par spip en faisant affichage code source dans ton navigateur sur la page voulue. Le code ressemblera alors plutôt à ceci :

"http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr" dir="ltr">

^