Artifact [61c462ab45]
Not logged in

Artifact 61c462ab452a16c54e211fb43be66b1638fa5237:

Ticket change [61c462ab45] - New ticket [0049db245e] Firefox HTML Validator thinks all pages are full of errors. by anonymous 2010-03-03 02:15:05.
D 2010-03-03T02:15:05
J comment I\shabitually\sinstall\sthe\sHTML\sValidator\sadd-on\sin\sFirefox,\swhich\sprovides\sfast\sfeedback\son\sthe\scurrently\sloaded\spage.\sThe\scurrent\sversion\sof\sthat\sadd-on\s(0.8.6.1)\sbelieves\sthat\severy\spage\sgenerated\sby\sfossil\shas\snumerous\serrors.\r\n\r\nMany\sof\sthese\serrors\sappear\sto\sstem\sfrom\sit\snot\srecognizing\sthe\sDOCTYPE,\swhich\sis\slikely\sbecause\sthe\sDTD\sit\snames\sis\sspelled\swrong:\s\r\n\r\n<verbatim>"-//W3C/DTD\sXHTML\s1.0\sStrict//EN"</verbatim>\r\n\r\nshould\sbe\s\r\n\r\n<verbatim>"-//W3C//DTD\sXHTML\s1.0\sStrict//EN"</verbatim>\r\n\r\naccording\sto\sthe\slist\sof\s"official"\sDTD\snames\sfound\sat\s[http://www.w3.org/QA/2002/04/valid-dtd-list.html|the\sW3C].\s(Note\sthe\sextra\sslash\sbetween\sW3C\sand\sDTD.)\sAs\sa\sred\sherring,\sthe\sURL\smentioned\sis\sat\sthe\salternate\sdomain\sx3.org\sinstead\sof\sthe\sstandard\sw3.org,\sbut\sthat\sisn't\scausing\sthe\sissue.\r\n\r\nWith\sthat\scorrected\s(at\sline\s94\sof\sstyle.c)\sthen\sthe\snumber\sof\serrors\sis\smuch\slower,\sbut\sstill\ssignificant.\sTypical\sexamples\s(from\sthe\s12\sor\sso\slisted\sfor\sthe\shome\spage\sof\sa\sclone\sof\sthe\sfossil-scm.org\srepository)\sinclude:\r\n\r\n\s\s*\s\sThe\s<tt>link</tt>\stags\sare\sall\smissing\send\stags.\r\n\s\s*\s\sThe\s<tt>img</tt>\stags\sare\sall\smissing\send\stags.\r\n\s\s*\s\sThe\s<tt>nobr</tt>\sis\snot\sin\sthe\sstandard.\r\n\s\s*\s\sThere\sis\sa\s<tt>table</tt>\selement\susing\sthe\snonstandard\s<tt>hspace</tt>\sattribute.\r\n\s\s*\s\sThere\sis\sone\sor\smore\sextra\s<tt>ul</tt>\send\stags.\r\n\s\s*\s\sThere\sis\sat\sleast\sone\s<tt>hr</tt>\stag\smissing\sits\send\stag.\r\n\s\s*\s\sThere\sis\sat\sleast\sone\s<tt>h3</tt>\stag\sinside\sthe\sspan\sof\sa\s<tt>p</tt>\stag.\r\n\r\nSome\sof\sthese\sare\sprobably\scorrectable\sin\sthe\s.wiki\ssource\stext\sfor\sthis\sparticular\spage,\sbut\ssome\sappear\sto\sresult\sfrom\sthe\swiki\stranslation\sitself.\r\n\r\nIf\sthe\sDOCTYPE\sis\sgoing\sto\sbe\sXHTML\sStrict,\sthen\sit\swould\sseem\sto\smake\ssense\sto\sclean\sup\sthe\sgenerated\sHTML\sso\sthat\sit\spasses\sa\svalidation\ssuite.\sI've\srated\sthis\sas\sCosmetic,\salthough\sthere\sare\sprobably\simplications\sfor\saccessibility\sapplications\s(screen\sreaders)\swhich\scould\sbe\smore\sserious\sthan\sthat.
J private_contact e408c15469a0da0ba8b15c021636ab3e715fecd7
J severity Cosmetic
J status Open
J title Firefox\sHTML\sValidator\sthinks\sall\spages\sare\sfull\sof\serrors
J type Code_Defect
K 0049db245ef59671d4fcefd45c02e37a70e2b622
U anonymous
Z 9bfc96f631a0067db0721667b91f6946