• User

    strani errori convalida xhtml

    Ciao sto cercando di convalidare una homepage di joomla, template fatto da me, mi da una sessantina di errori, la maggiorparte sulle tabelle, che non capisco tipo questi qui sotto:

    il fatto è che non credo ci siano tutti questi tag td in più o in meno, o non chiusi dato che le tabelle le ho fatte manualmente, forse le tabelle per essere valide e non dare errore devono avere qualche attributo tipo caption non lo so, magari sono capitati anche a voi errori del genere, poi non so rintracciarli nel codice della pagina visto che sono pagine.php, mi aiutate a capire come si convalidano pagine del genere?? vi ringrazio spero che torni utile anche agli altri.


    Error Line 348, Column 8: end tag for "table" omitted, but OMITTAG NO was specified

    </div>

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


    Error Line 91, Column 17: end tag for element "td" which is not open

            </td>
    

    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 occurred in a script section of your document, you should probably read this FAQ entry.


    Error Line 97, Column 20: end tag for "td" omitted, but OMITTAG NO was specified

            </table>
    

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


    Error Line 388, Column 25: end tag for element "table" which is not open

                 </table>
    

    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 occurred in a script section of your document, you should probably read this FAQ entry.


    Error Line 426, Column 9: end tag for element "div" which is not open

    		</div>
    

    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 occurred in a script section of your document, you should probably read this FAQ entry.


    Error Line 144, Column 26: XML Parsing Error: Opening and ending tag mismatch: tr line 126 and table

                  </table>

  • ModSenior

    Credo sarebbe meglio se inserissi in forma inattiva il link del sito o pagina da validare.


  • User

    ho trovato sul web che questo errore capita quando ci sono tabelle annidate, una dentro l'altra, è il mio caso! devo trasformare la tabella contenitore allora in un div ?? dice così

    It means two things:

    1. You've nested tables, something that is very bad.

    2. You've omitted the end tag for one of your "TD" elements.

    non lo sapevo che in xhtml, non si devono mai annidare le tabelle, addirittura altri dicono che non si devono usare del tutto, nemmeno per i box arrrotondati, mi veniva più semplice!! non so se vi risulta


  • ModSenior

    Probabilmente il modo in cui sono annidate non va bene, magari sono dentro un tr e non dentro un td.
    Avendo un url di riferimento come detto in precedenza, potrei aiutarti di più. 🙂


  • User

    Grazie, del tuo aiuto, purtroppo non posso rendere pubblico questo url intanto che ci sono lavori in corso, attualmente sono rimasti 22 errori, tipo questo:

        *Line 140, Column 3*:         document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag  <p**>
    

    o questo:

    **Line 142, Column 10:
    end tag for "p" omitted, but OMITTAG NO was specified

    </div**>**
    

    e numerosi così:

        *Line 210, Column > 80*:
        XML Parsing Error:  xmlParseEntityRef: no name
    

    ?big-group" href="sitoweb.com/images/stories/digifolio/espanc?

    vi posso chiedere una cosa
    visto che le pagine sono php joomla e non html, i numeri di riga sono diversi, come facco con firebug ad andare ad un numero di riga in particolare secondo la numerazione che segue il validatore??? vi ringrazio se mi aiutate!!!


  • ModSenior

    Io di solito (usando firefox) visualizzo il sorgente della pagina.
    Cliccando appunto col tasto destro, e poi su visualizza sorgente.
    E da li vedo il nomero di riga cliccando sulle righe del sorgente.


  • User

    grazie è che volevo farlo con firbug, validazione riuscita, ma ho dovuto combattere con joomla che certe volte non chiude i tag mette qualche chiusura </div> in più e il validatore non sopporta nemmeno la &
    grazie
    ciao