Re: still too early for XHTML :-((
Richard Kunze <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.xmlc |
|---|---|
| Organization | Tivano Software GmbH |
| Message-ID | <[email protected]> |
On Monday 07 April 2003 18:20, [email protected] 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, [email protected]
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+kaqb86Aqb3OZfF4RAmIxAKCqsX+NGI3ZqkImx+qpZeq580M5uwCgz+dS tBtoGsn3BFTPot5qte48Xrk= =mECl -----END PGP SIGNATURE-----