Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it
    Registrato dal
    Jun 2004
    Messaggi
    643

    Piccolo problemino doi validazione

    Ciao,
    ho un problemino a validare un documento XHTML con la DTD Transitional.

    Il validatore mi dā questo messaggio:

    "Potential Issues

    The following missing or conflicting information caused the validator to perform guesswork prior to validation. If the guess or fallback is incorrect, it may make validation results entirely incoherent. It is highly recommended to check these potential issues, and, if necessary, fix them and re-validate the document.

    1.

    Warning DOCTYPE Override in effect!

    The detected DOCTYPE Declaration "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">" has been suppressed and the DOCTYPE for "XHTML 1.0 Transitional" inserted instead, but even if no errors are shown below the document will not be Valid until you update it to reflect this new DOCTYPE.

    Congratulations

    The uploaded document "index.html" was checked and found to be tentatively valid XHTML 1.0 Transitional. This means that with the use of some fallback or override mechanism, we successfully performed a formal validation using an SGML or XML Parser. In other words, the document would validate as XHTML 1.0 Transitional if you changed the markup to match the changes we have performed automatically, but it will not be valid until you make these changes.
    Validating CSS Style Sheets

    If you use CSS in your document, you can check it for validity using the W3C CSS Validation Service. "

    Che significa? cos'č che non vā?

    Il mio codice XHTML č il seguente:

    codice:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it">
    <head>
    <title>Layout 38</title>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"></meta>
    <meta name="generator" content="HAPedit 3.1"></meta>
    <link href="layout.css" rel="stylesheet" type="text/css" title="default" />
    
    	<script type="text/javascript" src="sdmenu/sdmenu.js">
    		/***********************************************
    		* Slashdot Menu script- By DimX
    		* Submitted to Dynamic Drive DHTML code library: http://www.dynamicdrive.com
    		* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    		***********************************************/
    	</script>
    	<script type="text/javascript">
    	// <![CDATA[
    	var myMenu;
    	window.onload = function() {
    		myMenu = new SDMenu("my_menu");
    		myMenu.init();
    	};
    	// ]]>
    	</script>
    
    </head>
    <body>
    <div id="container">
       
       <div id="header">
         <div id="logo"></div>
         <div id="foto"></div>
       
       </div>
      
       <div id="breadcrumb">
          Home <span>&gt;</span>
          Chi Siamo <span>&gt;</span>
          Corsi Sub <span>&gt;</span>
          Photo Gallery <span>&gt;</span>
          Links <span>&gt;</span>
          Contatti <span>&gt;</span>
          Navigazione Rapida
      </div>
       
       <div id="wrapper">
          <div id="content">
             
    
    1) Content here. column long long column very long fill fill fill long text            text column text silly very make long very fill silly make make long make text fill very            long text column silly silly very column long very column filler fill long make filler long            silly very long silly silly silly long filler make column filler make silly long long fill            very.</p>
             
    
    very make make fill silly long long filler column long make silly silly column filler fill            fill very filler text fill filler column make fill make text very make make very fill fill            long make very filler column very long very filler silly very make filler silly make make            column column </p>
             
    
    fill long make long text very make long fill column make text very silly column filler silly            text fill text filler filler filler make make make make text filler fill column filler make            silly make text text fill make very filler column very </p>
             
    
    column text long column make silly long text filler silly very very very long filler fill            very fill silly very make make filler text filler text make silly text text long fill fill            make text fill long text very silly long long filler filler fill silly long make column make            silly long column long make very </p>
           </div>
        </div>
    
        <div id="colonnasx">
        <div id="my_menu" class="sdmenu">
          
          <div>
            <span>Home</span>
          </div>
          
          <div class="collapsed">
            <span>Chi Siamo</span>
            Staff
            Dove Siamo
            Il Nostro Diving
          </div>
    
          <div class="collapsed">
            <span>Corsi Sub</span>
            Open Water Diver
            Advanced OWD
            EFR
            Rescue Diver
            Specialitā
            MasterScubaDiver
            DiveMaster
            HSA Open Water Diver
            Riabilitazione in acqua
            Nuoto Diversamente Abili
            Assistente Bagnanti FIN
         </div>
         
         <div class="collapsed">
            <span>Photo Gallery</span>
            Punti d'Immersione
            Viaggi
            Video
            Eventi
            Corsi
         </div>
         
         <div class="collapsed">
            <span>Links</span>
            HSA Italia
            A.S.S.O.
            Lazio Handicap
            Blu Production
            La Placa
            Juventus Nuoto
        </div>
        
        <div>
           <span>Contatti</span>
        </div>
      
       </div>
       
       <div id="calendario">
         <applet code="ccalendar.class" name="ccalendar" archive="ccalendar/ccalendar.jar" id="cal" height="160"     width="150"><param name="fdw" value="1"></param><param name="color_fond" value="28457F"></param><param name="color_full" value="FF0000"></param><param name="color_case" value="70B9FD"></param><param name="color_Comment" value="61A9DD"></param><param name="color_empty" value="3C5993"></param><param name="field" value="DateField"></param><param name="form" value="DateForm"></param><param name="day1" value="Domenica"></param><param name="day2" value="Lunedi"></param><param name="day3" value="Martedi"></param><param name="day4" value="Mercoledi"></param><param name="day5" value="Giovedi"></param><param name="day6" value="Venerdi"></param><param name="day7" value="Sabato"></param><param name="month1" value="Gennaio"></param><param name="month2" value="Febbraio"></param><param name="month3" value="Marzo"></param><param name="month4" value="Aprile"></param><param name="month5" value="Maggio"></param><param name="month6" value="Giugno"></param><param name="month7" value="Luglio"></param><param name="month8" value="Agosto"></param><param name="month9" value="Settembre"></param><param name="month10" value="Ottobre"></param><param name="month11" value="Novembre"></param><param name="month12" value="Dicembre"></param><param name="etarget" value="_new"></param><param name="event_file" value="./ccalendar/example.txt"></param><param name="sched_file" value="./schedule.txt"></param></applet>     
       
       </div>
    </div>
    
    
        <div id="extra">
            [img]img/marchi/padi.jpg[/img]</img>
            [img]img/marchi/nadd.jpg[/img]</img>
            [img]img/marchi/awarelogo.jpg[/img]</img>
            [img]img/marchi/hsaijpg.jpg[/img]</img>
      </div>
       
       <div id="footer">
    
    Here it goes the footer</p></div>
    
    </div>
    </body>
    </html>
    Grazie
    Andrea

  2. #2
    Utente di HTML.it
    Registrato dal
    Oct 2007
    Messaggi
    20
    Ciao, da quello che ho capito dice che il doctype che hai messo č stato soppresso e di utilizzare quello nuovo, inoltre il fatto che sotto non ci siano errori non č condizione sufficiente per validarlo. Ti invita a modificare il doctype mettendo quello in vigore adesso. ad una ricerca approssimativa (30 secondi data l'ora) non l'ho trovato sul sito della w3c ma, se ho capito bene, dovrebbe esserci. in ogni caso da quello che vedo hai messo transitional come doctype ma in realtā ti va bene usare anche lo strict quindi se modifichi il tuo doctype con questo non dovresti aver problemi (questo funziona). Ovviamente potrei aver capito roma per toma quindi controlla bene e fammi sapere


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

    Ciao

    Simone

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.