W3C home > Mailing lists > Public > www-html@w3.org > November 2007

Re: html code in <script>

From: Johannes Koch <koch@w3development.de>
Date: Wed, 14 Nov 2007 15:33:14 +0100
Message-ID: <473B072A.6000508@w3development.de>
To: www-html@w3.org

Mikko Rantalainen schrieb:
> If you want to use XHTML, the best way is to check the
> Accept-header and if it doesn't contain "application/xhtml+xml"  then the
> server must encode the content as a real HTML document.

   Accept: text/html;q=1.0, application/xhtml+xml;q=0.9, ...

Just checking "contains 'application/xhtml+xml'" is not enough.

Johannes Koch
In te domine speravi; non confundar in aeternum.
                             (Te Deum, 4th cent.)
Received on Wednesday, 14 November 2007 14:33:23 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:17 UTC