• Moderatore

    Validazione codice W3c

    Salve a tutti stavo cercando di creare un templae di Mambo validato ma mi restituisce degli errorei e non so come risolverli.
    Chi è così buono da aiutarmi'
    Grazie
    Se può essere d'aiuto questo è il doctype:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    Ecco gli errori riscontrati:

    • Error Line 27 column 27: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.<div id="pathway_text">

    • Error Line 109 column 4269: document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag....i sì.</p> <em><strong> <p**>** </p> <div class="comment"><di

    • Error Line 109 column 4305: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag....p> </p> <div class="comment"><div class="cbody"> <p><em><strong>

    • Error Line 109 column 4864: document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag....<p> </p> </div></div> <p**>**<img style="width: 90px; height: 110px"

    • Warning Line 147 column 233: cannot generate system identifier for general entity "task"...." href="index.php?option=com_content&task=view&id=55&Itemid=110" target="_sel

    • Error Line 147 column 233: general entity "task" not defined and no default entity...." href="index.php?option=com_content&task=view&id=55&Itemid=110" target="_sel

    • Warning Line 147 column 237: reference not terminated by REFC delimiter....ef="index.php?option=com_content&task**=**view&id=55&Itemid=110" target="_self">O

    • Warning Line 147 column 237: reference to external entity in attribute value....ef="index.php?option=com_content&task**=**view&id=55&Itemid=110" target="_self">O

    • Error Line 147 column 237: reference to entity "task" for which no system identifier could be generated....ef="index.php?option=com_content&task**=**view&id=55&Itemid=110" target="_self">O

    • Info Line 147 column 232: entity was defined here....o" href="index.php?option=com_content**&**task=view&id=55&Itemid=110" target="_se

    • Warning Line 147 column 243: cannot generate system identifier for general entity "id"....dex.php?option=com_content&task=view&id=55&Itemid=110" target="_self">Offerta

    • Error Line 147 column 243: general entity "id" not defined and no default entity....dex.php?option=com_content&task=view&id=55&Itemid=110" target="_self">Offerta

    • Warning Line 147 column 245: reference not terminated by REFC delimiter....x.php?option=com_content&task=view&id**=**55&Itemid=110" target="_self">Offerta s

    • Warning Line 147 column 245: reference to external entity in attribute value....x.php?option=com_content&task=view&id**=**55&Itemid=110" target="_self">Offerta s

    • Error Line 147 column 245: reference to entity "id" for which no system identifier could be generated....x.php?option=com_content&task=view&id**=**55&Itemid=110" target="_self">Offerta s

    • Info Line 147 column 242: entity was defined here....ndex.php?option=com_content&task=view**&**id=55&Itemid=110" target="_self">Offert

    • Warning Line 147 column 249: cannot generate system identifier for general entity "Itemid"....p?option=com_content&task=view&id=55&Itemid=110" target="_self">Offerta strao

    • Error Line 147 column 249: general entity "Itemid" not defined and no default entity....p?option=com_content&task=view&id=55&Itemid=110" target="_self">Offerta strao

    • Warning Line 147 column 255: reference not terminated by REFC delimiter....on=com_content&task=view&id=55&Itemid**=**110" target="_self">Offerta straordinar

    • Warning Line 147 column 255: reference to external entity in attribute value....on=com_content&task=view&id=55&Itemid**=**110" target="_self">Offerta straordinar

    • Error Line 147 column 255: reference to entity "Itemid" for which no system identifier could be generated....on=com_content&task=view&id=55&Itemid**=**110" target="_self">Offerta straordinar

    • Info Line 147 column 248: entity was defined here....hp?option=com_content&task=view&id=55**&**Itemid=110" target="_self">Offerta stra

    • Error Line 227 column 144: end tag for element "a" which is not open....eleased under the GNU/GPL License.</a**>**</div>


  • Super User

    La colpa di gran parte di quegli errori sta nelcarattere & contenuto negli url.

    Andrebbe sostituito con la sua entità carattere &

    Ma se vuoi un consiglio, anzichè perdere tempo a cercar di sostituire, cerca di passare direttamente ad indirizzi statici. Così oltre a ad ottenere la validazione, migliori tutto per i motori. 🙂

    :ciauz: