Re: bug with gitweb on kernel.org

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



J.H. wrote:

Well the only difference in the pages being served is the mime type
application/html vs. application/xhtml+xml.  Does anyone know the
original impetus to using application/xhtml+xml (despite the fact that
it's technically the correct choice) vs. just using application/html for
everything?  I'm sure there was a good reason behind it and I'd rather
know what that reason was before I got changing things


Presumably the motivation is so you know ahead of time that you can invoke an XML parser rather than an SGML/HTML parser.

Note: http://www.w3.org/TR/xhtml-media-types/ states that text/html is considered acceptable for HTML-compatible XHTML 1.0 but no other version of XHTML 1.0. One of the main issues with making XHTML 1.0-compatible is to make sure there is a space before the final / in the last singleton: <foo /> rather than <foo/>

	-hpa
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]