Peter Pentchev writes:

> Now why would lynx, links, *and* w3m all choke and display an empty
> page for http://lart.ca/software/gurgitate-mail/ - I wonder if they
> just don't quite grok XHTML,

The page is served with Content-Type: text/html, so browsers should not
be attempting to grok it as XML, but as HTML.

> or the duplicate <div id="main"> really throws them.

I'm pretty sure the problem is:

  <script type="text/javascript" src="/javascripts/prototype.js" />

In XML that's equivalent to:

  <script type="text/javascript" src="/javascripts/prototype.js"></script>

But this isn't XML; it's HTML.  And HTML doesn't have the self-closing
tag syntax, meaning that slash in the source is being ignored, and the
line tret as though it were:

  <script type="text/javascript" src="/javascripts/prototype.js">

Which means that all the following content on the page is the body of
that <script> element, and as such not displayed.

Smylers
-- 
http://twitter.com/Smylers2

Reply via email to