conformité W3C

http://validator.w3.org/

Bonjour avec le lien ci dessus c'est assez décourageant: mis à part le modèle
SPIP de base, rien ne passe l'intraitable vérificateur :-((

On fait comment quand on on bidouille difficilement une fois/mois son petit
squelette? D'ici sa fin à ce rythme, on sera même plus au W3C!!

Y'a que les pros qui passent le test haut la main?

----------------------------------------------------------
Je travaille en local actuellement, sur la version 1.9.1
Merci de vos réponses
Magali Eléouet, Carpentras

Le 21/10/06, Magali a écrit :

http://validator.w3.org/

Bonjour avec le lien ci dessus c'est assez décourageant: mis à part le
modèle
SPIP de base, rien ne passe l'intraitable vérificateur :-((

On fait comment quand on on bidouille difficilement une fois/mois son petit
squelette? D'ici sa fin à ce rythme, on sera même plus au W3C!!

Il faut plus travailler :wink:

A voir (entre autres)

Avec firefox, j'utilise les extensions
webdevelopper
aardwark
Html Validator (Tidy)
....

Y'a que les pros qui passent le test haut la main?

Ca doit exister :wink:

--
@plus

Jacques

Marre de "*quoter comme un goret*" avec OE : (Rappel: quoter n'est

pas coder) http://www.aminautes.org/forums/configurer/oe/QF_doc.html

Où placer sa réponse ?
[Mini-FAQ] Repondre par courrier ou dans les news ?

http://validator.w3.org/

Y'a que les pros qui passent le test haut la main?

iso-8859-1 / XHTML 1.1
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.exhaustif.com%2F

utf-8 / XHTML 1.0 Transitional
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.hadritech.com%2F

Oui ca passe, c'est plus une question d'habitude qu'autre chose.
Là je prépare un XHTML 1.1 avec utf8 (la total quoi)

Bon courage

Bonjour,
J'ai aussi testé.
Mais il m'indique des erreurs qui ne figurent pas dans le squelette... comme des fermetures de tag /> ou des ordres de tri.
Quelqu'un aurait-il rencontré le même problème ?
Merci d'avance. Bernard

PS :
Ci-dessous le rapport

Below are the results of checking this document for XML well-formedness <http://www.w3.org/TR/REC-xml#sec-conformance> and validity.

   1. Warning /Line 47 column 57/: cannot generate system identifier for
      general entity "tri".

      |<a href="http://www.ruedesboulets.com/spip.php?rubrique3&tri=date"><b>DERNIERS ALBUMS</b></a>|

      An entity reference was found in the document, but there is no
      reference by that name defined. Often this is caused by
      misspelling the reference name, unencoded ampersands, or by
      leaving off the trailing semicolon (;). *The most common cause of
      this error is unencoded ampersands in URLs* as described by the
      WDG <http://www.htmlhelp.com/> in "Ampersands in URLs
      <http://www.htmlhelp.com/tools/validator/problems.html#amp>".

      Entity references start with an ampersand (&) and end with a
      semicolon (;). If you want to use a literal ampersand in your
      document you must encode it as "&amp;" (/even inside URLs!/). Be
      careful to end entity references with a semicolon or your entity
      reference may get interpreted in connection with the following
      text. Also keep in mind that named entity references are
      case-sensitive; &Aelig; and &aelig; are different characters.

      If this error appears in some markup generated by PHP's session
      handling code, this article
      <http://www.w3.org/QA/2005/04/php-session> has explanations and
      solutions to your problem.

      Note that in most documents, errors related to entity references
      will trigger up to 5 separate messages from the Validator. Usually
      these will all disappear when the original problem is fixed.

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=338#errormsg>

   2. Error /Line 47 column 57/: general entity "tri" not defined and no
      default entity.

      |<a href="http://www.ruedesboulets.com/spip.php?rubrique3&tri=date"><b>DERNIERS ALBUMS</b></a>|

      This is usually a cascading error caused by a an undefined entity
      reference or use of an unencoded ampersand (&) in an URL or body
      text. See the previous message for further details.

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=25#errormsg>

   3. Warning /Line 47 column 60/: reference not terminated by REFC
      delimiter.

      |<a href="http://www.ruedesboulets.com/spip.php?rubrique3&tri*=*date"><b>DERNIERS ALBUMS</b></a>|

      If you meant to include an entity that starts with "&", then you
      should terminate it with ";". Another reason for this error
      message is that you inadvertently created an entity by failing to
      escape an "&" character just before this text.

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=394#errormsg>

   4. Warning /Line 47 column 60/: reference to external entity in
      attribute value.

      |<a href="http://www.ruedesboulets.com/spip.php?rubrique3&tri*=*date"><b>DERNIERS ALBUMS</b></a>|

      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 '&amp;'.

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=403#errormsg>

   5. Error /Line 47 column 60/: reference to entity "tri" for which no
      system identifier could be generated.

      |<a href="http://www.ruedesboulets.com/spip.php?rubrique3&tri*=*date"><b>DERNIERS ALBUMS</b></a>|

      This is usually a cascading error caused by a an undefined entity
      reference or use of an unencoded ampersand (&) in an URL or body
      text. See the previous message for further details.

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=325#errormsg>

   6. Info /Line 47 column 56/: entity was defined here.

      |<a href="http://www.ruedesboulets.com/spip.php?rubrique3*&*tri=date"><b>DERNIERS ALBUMS</b></a>|

   7. Error /Line 67 column 60/: document type does not allow element
      "div" here; missing one of "object", "applet", "map", "iframe",
      "button", "ins", "del" start-tag.

      |<div class="texte" style="padding-top:2px;padding-left:4px;"*>*<b>Fleurs hivernales</b></div>|

      The mentioned element is not allowed to appear in the context in
      which you've placed it; the other mentioned elements are the only
      ones that are both allowed there /and/ can contain the element
      mentioned. This might mean that you need a containing element, or
      possibly that you've forgotten to close a previous element.

      One possible cause for this message is that you have attempted to
      put a block-level element (such as "<p>" or "<table>") inside an
      inline element (such as "<a>", "<span>", or "<font>").

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=65#errormsg>

   8. Error /Line 68 column 44/: document type does not allow element
      "div" here; missing one of "object", "applet", "map", "iframe",
      "button", "ins", "del" start-tag.

      |<div class="texte" style="padding-left:4px;"*>*Album de 52 photos<br />|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=65#errormsg>

   9. Error /Line 76 column 60/: document type does not allow element
      "div" here; missing one of "object", "applet", "map", "iframe",
      "button", "ins", "del" start-tag.

      |...e="padding-top:2px;padding-left:4px;"*>*<b>Sur et autour de la bibliothèque</b|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=65#errormsg>

  10. Error /Line 77 column 44/: document type does not allow element
      "div" here; missing one of "object", "applet", "map", "iframe",
      "button", "ins", "del" start-tag.

      |<div class="texte" style="padding-left:4px;"*>*Album de 10 photos<br />|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=65#errormsg>

  11. Error /Line 85 column 60/: document type does not allow element
      "div" here; missing one of "object", "applet", "map", "iframe",
      "button", "ins", "del" start-tag.

      |<div class="texte" style="padding-top:2px;padding-left:4px;"*>*<b>Murs peints</b></div>|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=65#errormsg>

  12. Error /Line 86 column 44/: document type does not allow element
      "div" here; missing one of "object", "applet", "map", "iframe",
      "button", "ins", "del" start-tag.

      |<div class="texte" style="padding-left:4px;"*>*Album de 18 photos<br />|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=65#errormsg>

  13. Error /Line 94 column 60/: document type does not allow element
      "div" here; missing one of "object", "applet", "map", "iframe",
      "button", "ins", "del" start-tag.

      |<div class="texte" style="padding-top:2px;padding-left:4px;"*>*<b>Banlieue fantôme</b></div>|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=65#errormsg>

  14. Error /Line 95 column 44/: document type does not allow element
      "div" here; missing one of "object", "applet", "map", "iframe",
      "button", "ins", "del" start-tag.

      |<div class="texte" style="padding-left:4px;"*>*Album de 15 photos<br />|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=65#errormsg>

  15. Warning /Line 106 column 132/: reference not terminated by REFC
      delimiter.

      |...px;"><a href="/spip.php?rubrique2&tri*=*date"><b>DERNIÈRES VIDÉOS</b></a></di|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=394#errormsg>

  16. Warning /Line 106 column 132/: reference to external entity in
      attribute value.

      |...px;"><a href="/spip.php?rubrique2&tri*=*date"><b>DERNIÈRES VIDÉOS</b></a></di|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=403#errormsg>

  17. Error /Line 106 column 132/: reference to entity "tri" for which
      no system identifier could be generated.

      |...px;"><a href="/spip.php?rubrique2&tri*=*date"><b>DERNIÈRES VIDÉOS</b></a></di|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=325#errormsg>

  18. Info /Line 47 column 56/: entity was defined here.

      |<a href="http://www.ruedesboulets.com/spip.php?rubrique3*&*tri=date"><b>DERNIERS ALBUMS</b></a>|

  19. Error /Line 123 column 59/: document type does not allow element
      "div" here; missing one of "object", "applet", "map", "iframe",
      "button", "ins", "del" start-tag.

      |<div class="texte" style="padding-top:2px;padding-left:4px"*>*|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=65#errormsg>

  20. Error /Line 125 column 43/: document type does not allow element
      "div" here; missing one of "object", "applet", "map", "iframe",
      "button", "ins", "del" start-tag.

      |<div class="texte" style="padding-left:4px"*>*une vidéo de 3 mn<br />|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=65#errormsg>

  21. Error /Line 133 column 59/: document type does not allow element
      "div" here; missing one of "object", "applet", "map", "iframe",
      "button", "ins", "del" start-tag.

      |<div class="texte" style="padding-top:2px;padding-left:4px"*>*|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=65#errormsg>

  22. Error /Line 135 column 43/: document type does not allow element
      "div" here; missing one of "object", "applet", "map", "iframe",
      "button", "ins", "del" start-tag.

      |<div class="texte" style="padding-left:4px"*>*video de 8 mn<br />|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=65#errormsg>

  23. Error /Line 143 column 59/: document type does not allow element
      "div" here; missing one of "object", "applet", "map", "iframe",
      "button", "ins", "del" start-tag.

      |<div class="texte" style="padding-top:2px;padding-left:4px"*>*|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=65#errormsg>

  24. Error /Line 145 column 43/: document type does not allow element
      "div" here; missing one of "object", "applet", "map", "iframe",
      "button", "ins", "del" start-tag.

      |<div class="texte" style="padding-left:4px"*>*vidéo de 16 mn<br />|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=65#errormsg>

  25. Error /Line 153 column 59/: document type does not allow element
      "div" here; missing one of "object", "applet", "map", "iframe",
      "button", "ins", "del" start-tag.

      |<div class="texte" style="padding-top:2px;padding-left:4px"*>*|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=65#errormsg>

  26. Error /Line 155 column 43/: document type does not allow element
      "div" here; missing one of "object", "applet", "map", "iframe",
      "button", "ins", "del" start-tag.

      |<div class="texte" style="padding-left:4px"*>*vidéo de 10 mn<br />|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=65#errormsg>

  27. Warning /Line 568 column 31/: reference not terminated by REFC
      delimiter.

      |<a href="spip.php?rubrique3&tri*=*date">Album de photos</a>|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=394#errormsg>

  28. Warning /Line 568 column 31/: reference to external entity in
      attribute value.

      |<a href="spip.php?rubrique3&tri*=*date">Album de photos</a>|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=403#errormsg>

  29. Error /Line 568 column 31/: reference to entity "tri" for which no
      system identifier could be generated.

      |<a href="spip.php?rubrique3&tri*=*date">Album de photos</a>|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=325#errormsg>

  30. Info /Line 47 column 56/: entity was defined here.

      |<a href="http://www.ruedesboulets.com/spip.php?rubrique3*&*tri=date"><b>DERNIERS ALBUMS</b></a>|

  31. Warning /Line 570 column 31/: reference not terminated by REFC
      delimiter.

      |<a href="spip.php?rubrique2&tri*=*date">Vidéos (podcast)</a>|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=394#errormsg>

  32. Warning /Line 570 column 31/: reference to external entity in
      attribute value.

      |<a href="spip.php?rubrique2&tri*=*date">Vidéos (podcast)</a>|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=403#errormsg>

  33. Error /Line 570 column 31/: reference to entity "tri" for which no
      system identifier could be generated.

      |<a href="spip.php?rubrique2&tri*=*date">Vidéos (podcast)</a>|

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=325#errormsg>

  34. Info /Line 47 column 56/: entity was defined here.

      |<a href="http://www.ruedesboulets.com/spip.php?rubrique3*&*tri=date"><b>DERNIERS ALBUMS</b></a>|

  35. Error /Line 572 column 18/: end tag for element "BOUCLE_rubriques"
      which is not open.

      |</BOUCLE_rubriques*>*|

      The Validator found an end tag for the above element, but that
      element is not currently open. This is often caused by a leftover
      end tag from an element that was removed during editing, or by an
      implicitly closed element (if you have an error related to an
      element being used where it is not allowed, this is almost
      certainly the case). In the latter case this error will disappear
      as soon as you fix the original problem.

      If this error occured in a script section of your document, you
      should probably read this FAQ entry
      <http://validator.w3.org/docs/help.html#faq-javascript>.

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=79#errormsg>

  36. Error /Line 2872 column 13/: element "B_compte_vid" undefined.

      |<B_compte_vid*>*|

      You have used the element named above in your document, but the
      document type you are using does not define an element of that
      name. This error is often caused by:

          * incorrect use of the "Strict" document type with a document
            that uses frames (e.g. you must use the "Frameset" document
            type to get the "<frameset>" element),
          * by using vendor proprietary extensions such as "<spacer>" or
            "<marquee>" (this is usually fixed by using CSS to achieve
            the desired effect instead).
          * by using upper-case tags in XHTML (in XHTML attributes and
            elements must be all lower-case.

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=76#errormsg>

  37. Error /Line 2910 column 11/: end tag for "B_compte_vid" omitted,
      but OMITTAG NO was specified.

      |vidéos</di*v*>|

      You may have neglected to close an element, or perhaps you meant
      to "self-close" an element, that is, ending it with "/>" instead
      of ">".

      ?
      <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.ruedesboulets.com%2F;errmsg_id=70#errormsg>

  38. Info /Line 2872 column 0/: start tag was here.

      |*<*B_compte_vid>|

Bonjour,

Je suis entrain de construire un site avec l'aide un membre.
http://www.insecte.org/sommaire.php3

Comme vous pouvez le voir nous aimerions pouvoir afficher les sujets récents (ainsi que les photos qu'ils contiennent) d'un forum phpbb.

Deux addons ont été essayé.
http://www.spip-contrib.net/Syndication-d-un-site-base-sur ainsi que le topics-anywhere cité dans cette contrib.

1) les sujets affichés sous spip ont du retard (plusieurs heures).
2) la ou les photos des sujets ne s'affichent pas.

A terme l'accueil du site devrait remplacer l'accueil du forum.
http://www.insecte.org/forum/portal.php

Merci d'avance pour votre aide éventuelle.

Cordialement.

Bruno.

Bonjour,

Je suis entrain de construire un site avec l'aide un membre.
http://www.insecte.org/sommaire.php3

Comme vous pouvez le voir nous aimerions pouvoir afficher les sujets récents (ainsi que la photo)) d'un forum phpbb.

Deux addons ont été essayé.
backend.php sur http://www.spip-contrib.net/Syndication-d-un-site-base-sur ainsi que le topics-anywhere cité dans cette contrib.

1) les sujets affichés sous spip ont du retard (plusieurs heures) avec les 2 add-ons.
2) la photo des sujets ne s'affichent pas.

A terme l'accueil du site devrait remplacer l'accueil du forum.
http://www.insecte.org/forum/portal.php

Le sujet a peut-être déjà abordé mais je n'ai rien trouvé dans mes recherches.

Merci d'avance pour votre aide éventuelle.

Cordialement.

Bruno.

De : spip-bounces@rezo.net [mailto:spip-bounces@rezo.net]De la part de
iso-8859-1 / XHTML 1.1
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.exhaustif.com%2F

utf-8 / XHTML 1.0 Transitional
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.hadritech.com%2F

Oui ca passe, c'est plus une question d'habitude qu'autre chose.
Là je prépare un XHTML 1.1 avec utf8 (la total quoi)

Ce qui me gène dans la validation w3c c'est que 99% de ceux qui se
prétendent valident le sont... uniquement sur la page d'accueil. Ce qui en
soit est un bon début mais pas suffisant pour se prétendre "site valide
w3c".

par exemple après 2 clics au hasard:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.exhaustif.com%2Fles_2x3_p
oints_a_valider_lors_de_la_creation_d_une_entreprise-000064.art.html&charset
=%28detect+automatically%29&doctype=Inline

même chez les spécialistes, ça coince:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.accessiweb.org%2Ffr%2FLab
el_Accessibilite%2Fcriteres_accessiweb%2F&charset=%28detect+automatically%29
&doctype=Inline

Perso je ne connais pas un seul site dynamique et au contenu conséquent qui
soit 100% valide.

Ce qui me fais dire que si il faut faire de son mieux pour la respecter, il
ne faut pas présenter cette fameuse validation comme le saint graal.

Tiens un petit lien, qui risque de raviver des débats :wink:
http://www.uzine.net/article1979.html

eric

Allez nourrissons le troll

même chez les spécialistes, ça coince:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.accessiweb.org%2Ffr%2FLab
el_Accessibilite%2Fcriteres_accessiweb%2F&charset=%28detect+automatically%29
&doctype=Inline

sauf qu'ils ne se sont jamais présenté comme des spécialistes de validation html, qu'ils ne disent nul par que leur site est valide et que validation html et accessibilité n'ont dans un premier temps rien à voir, pour rappel il s'agit d'une recommandation de niveau AA des WCAG 1.0 qui a pour l'instant plus ou moins disparu des WCAG 2.0. Avoir un site valide aide à l'accessibilité en règle général mais ne la garanti en rien.

Ce qui me fais dire que si il faut faire de son mieux pour la respecter, il
ne faut pas présenter cette fameuse validation comme le saint graal.
  

ça je suis entièrement d'accord mais comme lien je donnerais plutôt celui là
http://openweb.eu.org/articles/conformite_validation_surqualite/

Aurélien

On fait comment quand on on bidouille difficilement une
fois/mois son petit squelette? D'ici sa fin à ce rythme, on
sera même plus au W3C!!

Dans ce cas, tu admet que la validité de ta page est hors de ta portée et tu
fais au mieux. Il n'est pas obligatoire d'être valide pour être lu sur le
web. Au fur et à mesure de ton temps disponible, tu découvrira (openweb par
exemple) des ressources et des trucs et astuces qui t'aideront à faire de
mieux en mieux, et c'est déjà bien.