Sunday, March 30, 2008

Digg and XHTML

If you use Digg I bet you are sick of XHTML / CSS articles.

The thing which annoys me most is the available addons for firefox just aren't used.

Just look at the front page of digg: 66 errors / 13 warnings.

And the first one to come up - a typo.

line 35 column 804 - Error: there is no attribute "valie"
line 35 column 819 - Error: there is no attribute "tab-index"
line 35 column 874 - Error: end tag for element "button" which is not open
line 40 column 37 - Warning: cannot generate system identifier for general entity "PG"
line 40 column 37 - Error: general entity "PG" not defined and no default entity
line 40 column 39 - Error: reference to entity "PG" for which no system identifier could be generated
line 40 column 36 - Info: entity was defined here
line 40 column 47 - Warning: cannot generate system identifier for general entity "AP"
line 40 column 47 - Error: general entity "AP" not defined and no default entity
line 40 column 49 - Error: reference to entity "AP" for which no system identifier could be generated
line 40 column 46 - Info: entity was defined here
line 40 column 55 - Warning: cannot generate system identifier for general entity "PN"
line 40 column 55 - Error: general entity "PN" not defined and no default entity
line 40 column 57 - Error: reference to entity "PN" for which no system identifier could be generated
line 40 column 54 - Info: entity was defined here
line 43 column 81 - Warning: cannot generate system identifier for general entity "topics"
line 43 column 81 - Error: general entity "topics" not defined and no default entity
line 43 column 87 - Error: reference to entity "topics" for which no system identifier could be generated
line 43 column 80 - Info: entity was defined here
line 43 column 272 - Warning: cannot generate system identifier for general entity "media"
line 43 column 272 - Error: general entity "media" not defined and no default entity
line 43 column 277 - Error: reference to entity "media" for which no system identifier could be generated
line 43 column 271 - Info: entity was defined here
line 44 column 61 - Error: reference to entity "topics" for which no system identifier could be generated
line 43 column 80 - Info: entity was defined here
line 44 column 251 - Error: reference to entity "media" for which no system identifier could be generated
line 43 column 271 - Info: entity was defined here
line 45 column 62 - Error: reference to entity "topics" for which no system identifier could be generated
line 43 column 80 - Info: entity was defined here
line 45 column 252 - Error: reference to entity "media" for which no system identifier could be generated
line 43 column 271 - Info: entity was defined here
line 46 column 62 - Error: reference to entity "topics" for which no system identifier could be generated
line 43 column 80 - Info: entity was defined here
line 46 column 252 - Error: reference to entity "media" for which no system identifier could be generated
line 43 column 271 - Info: entity was defined here
line 50 column 176 - Warning: cannot generate system identifier for general entity "eurl"
line 50 column 176 - Error: general entity "eurl" not defined and no default entity
line 50 column 180 - Error: reference to entity "eurl" for which no system identifier could be generated
line 50 column 175 - Info: entity was defined here
line 50 column 1988 - Warning: cannot generate system identifier for general entity "thread.id"
line 50 column 1988 - Error: general entity "thread.id" not defined and no default entity
line 50 column 1997 - Error: reference to entity "thread.id" for which no system identifier could be generated
line 50 column 1987 - Info: entity was defined here
line 50 column 2005 - Warning: cannot generate system identifier for general entity "view"
line 50 column 2005 - Error: general entity "view" not defined and no default entity
line 50 column 2009 - Error: reference to entity "view" for which no system identifier could be generated
line 50 column 2004 - Info: entity was defined here
line 50 column 2028 - Warning: cannot generate system identifier for general entity "page"
line 50 column 2028 - Error: general entity "page" not defined and no default entity
line 50 column 2032 - Error: reference to entity "page" for which no system identifier could be generated
line 50 column 2027 - Info: entity was defined here
line 59 column 77 - Warning: cannot generate system identifier for general entity "source"
line 59 column 77 - Error: general entity "source" not defined and no default entity
line 59 column 83 - Error: reference to entity "source" for which no system identifier could be generated
line 59 column 76 - Info: entity was defined here
line 66 column 86 - Error: reference to entity "source" for which no system identifier could be generated
line 59 column 76 - Info: entity was defined here
line 69 column 85 - Error: reference to entity "source" for which no system identifier could be generated
line 59 column 76 - Info: entity was defined here
line 71 column 54 - Warning: cannot generate system identifier for general entity "lpos"
line 71 column 54 - Error: general entity "lpos" not defined and no default entity
line 71 column 58 - Error: reference to entity "lpos" for which no system identifier could be generated
line 71 column 53 - Info: entity was defined here
line 74 column 41 - Error: reference to entity "PG" for which no system identifier could be generated
line 40 column 36 - Info: entity was defined here
line 74 column 51 - Error: reference to entity "AP" for which no system identifier could be generated
line 40 column 46 - Info: entity was defined here
line 74 column 57 - Warning: cannot generate system identifier for general entity "SEG"
line 74 column 57 - Error: general entity "SEG" not defined and no default entity
line 74 column 60 - Error: reference to entity "SEG" for which no system identifier could be generated
line 74 column 56 - Info: entity was defined here
line 85 column 68 - Error: there is no attribute "about"
line 87 column 112 - Error: there is no attribute "property"
line 89 column 16 - Error: there is no attribute "property"
line 99 column 45 - Error: there is no attribute "content"
line 110 column 31 - Error: ID "title0" already defined
line 87 column 31 - Info: ID "title0" first defined here
line 133 column 31 - Error: ID "title0" already defined
line 87 column 31 - Info: ID "title0" first defined here
line 133 column 96 - Warning: cannot generate system identifier for general entity "sid"
line 133 column 96 - Error: general entity "sid" not defined and no default entity
line 133 column 99 - Error: reference to entity "sid" for which no system identifier could be generated
line 133 column 95 - Info: entity was defined here
line 156 column 31 - Error: ID "title0" already defined
line 87 column 31 - Info: ID "title0" first defined here
line 179 column 31 - Error: ID "title0" already defined
line 87 column 31 - Info: ID "title0" first defined here
line 202 column 31 - Error: ID "title0" already defined
line 87 column 31 - Info: ID "title0" first defined here
line 225 column 31 - Error: ID "title0" already defined
line 87 column 31 - Info: ID "title0" first defined here
line 249 column 12 - Error: ID "title0" already defined
line 87 column 31 - Info: ID "title0" first defined here
line 276 column 12 - Error: ID "title0" already defined
line 87 column 31 - Info: ID "title0" first defined here
line 302 column 31 - Error: ID "title0" already defined
line 87 column 31 - Info: ID "title0" first defined here
line 326 column 12 - Error: ID "title0" already defined
line 87 column 31 - Info: ID "title0" first defined here
line 356 column 31 - Error: ID "title0" already defined
line 87 column 31 - Info: ID "title0" first defined here
line 356 column 133 - Error: reference to entity "thread.id" for which no system identifier could be generated
line 50 column 1987 - Info: entity was defined here
line 356 column 145 - Error: reference to entity "view" for which no system identifier could be generated
line 50 column 2004 - Info: entity was defined here
line 356 column 168 - Error: reference to entity "page" for which no system identifier could be generated
line 50 column 2027 - Info: entity was defined here
line 379 column 31 - Error: ID "title0" already defined
line 87 column 31 - Info: ID "title0" first defined here
line 379 column 115 - Warning: cannot generate system identifier for general entity "loomia_si"
line 379 column 115 - Error: general entity "loomia_si" not defined and no default entity
line 379 column 124 - Error: reference to entity "loomia_si" for which no system identifier could be generated
line 379 column 114 - Info: entity was defined here
line 402 column 31 - Error: ID "title0" already defined
line 87 column 31 - Info: ID "title0" first defined here
line 425 column 31 - Error: ID "title0" already defined
line 87 column 31 - Info: ID "title0" first defined here
line 476 column 124 - Error: reference to entity "source" for which no system identifier could be generated
line 59 column 76 - Info: entity was defined here
line 521 column 35 - Error: end tag for "ul" which is not finished
line 526 column 37 - Error: end tag for "ul" which is not finished
line 530 column 39 - Error: end tag for "ul" which is not finished
line 539 column 6 - Error: end tag for "div" omitted, but OMITTAG NO was specified
line 35 - Info: start tag was here


If I can do it:

Result: 0 errors / 10 warnings

line 4 column 5 - Warning: <head> escaping malformed URI reference
line 235 column 11 - Warning: <iframe> attribute "height" has invalid value "30px"
line 248 column 29 - Warning: <a> cannot copy name attribute to id
line 289 column 29 - Warning: <a> cannot copy name attribute to id
line 330 column 29 - Warning: <a> cannot copy name attribute to id
line 371 column 29 - Warning: <a> cannot copy name attribute to id
line 412 column 29 - Warning: <a> cannot copy name attribute to id
line 451 column 29 - Warning: <a> cannot copy name attribute to id
line 492 column 29 - Warning: <a> cannot copy name attribute to id
line 533 column 29 - Warning: <a> cannot copy name attribute to id
Info: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN"
Info: Document content looks like XHTML 1.0 Transitional

... so can they
Post a Comment