On Fri, Sep 3, 2010 at 12:40 AM, John Millikin <jmilli...@gmail.com> wrote:
>
> Haddock is generating files with an .html extension, which causes
> webservers to serve it using "text/html", the incorrect MIME-type.

Secton 5.1 of the XHTML recommendation states: "XHTML Documents which
follow the guidelines set forth in Appendix C, 'HTML Compatibility
Guidelines' may be labeled with the Internet Media Type 'text/html'
[RFC2854], as they are compatible with most HTML browsers."

<http://www.w3.org/TR/xhtml1/#media>

I haven't checked Haddock's conformance with Appendix C, but it is
incorrect to say that XHTML cannot be served as text/html.

-- 
Dave Menendez <d...@zednenem.com>
<http://www.eyrie.org/~zednenem/>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to