|
Posted by Jukka K. Korpela on 04/17/07 13:27
Scripsit Benjamin Niemann:
> <http://triin.net/2006/06/12/HTML#document-types> might be what you
> are looking for. The author analyzed ~1.2 million documents.
> Unfortunately Googles Web Authoring Statistics
> <http://code.google.com/webstats/>, which analyzed a much larger
> number of documents, did not look at the DOCTYPE declaration...
What makes you think the DOCTYPE declaration determines whether a document
is in fact an XHTML document? In principle, it simply specifies the DTD that
the document purports to comply with. It cannot actually _make_ a document
an XHTML document, any more than a boilerplate text "This message is
certified virus free" makes anything virus free. In practice, there is a
huge number of pages that are a horrendous mix of HTML and XHTML with lots
of syntax errors, using an XHTML DOCTYPE.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|