logo       

Re: still too early for XHTML :-((: msg#00027

java.enhydra.xmlc

Subject: Re: still too early for XHTML :-((

On Monday 07 April 2003 18:20, dcorbin@xxxxxxxxxxxxxx wrote:
> We've been using XHTML+XMLC for 9 months, and we too encountered that
> problem. My solution, was to do it this way:
> <script src="x"><!-- IE Sucks --></script>
>
> every place we want to use a "self-terminating script tag".
>
> Having said that, I'm also curious as to what the document type you're
> sending down in your request headers. Even though we produce XHTML, we're
> really telling it we are an html document. It's quite possible that
> sending the correct "Content-type" header down will work. Problem is, I
> don't know what the correct type REALLY is.

According to the W3C
(http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801/), the most
appropriate content type to send for XHTML is "application/xhtml+xml",
although "application/xml" and "text/xml" are valid as well, and "text/html"
can be used when the content is HTML compatible XHTML 1.0


--
Richard Kunze

[ t]ivano Software, Bahnhofstr. 18, 63263 Neu-Isenburg
Tel.: +49 6102 80 99 07 - 0, Fax.: +49 6102 80 99 07 - 1
http://www.tivano.de, kunze@xxxxxxxxx

Attachment: pgpVkCN1LWc79.pgp
Description: signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise