/Paul B. Gallagher/:
Cedar wrote:
When I go to this website with SM 2: www.cattlenetwork.com, I get the
following error message:
XML Parsing Error: mismatched tag. Expected: </meta>.
(...)
Any ideas what this might be about? If someone else would be so kind
as to try this website and see if you get the same would be appreciated.
Yes, I get it too, with SM 1.1.16.
The point of the message is that if you have a <meta> tag you must also
have a </meta> tag (that's what "mismatched" means -- it's like having
an opening parenthesis without a closing parenthesis). When the parser
reaches the </head> tag, it gives up.
In HTML the META element doesn't have an end tag. However they
serve the page explicitly specifying 'Content-Type:
application/xhtml+xml' which makes the browser use an XML parser.
Seems they sniff on the 'User-Agent' request header and serve
different 'Content-Type' depending on the browser, as I don't get
problem using Firefox 3.5, Safari 4 and Opera 10.
Not your fault, not your browser's fault, though I suppose some might
say the browser should overlook this error. Internet Exploiter does.
Internet Explorer doesn't understand XHTML. It parses it as regular
tag-soup HTML.
--
Stanimir
_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey