Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

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

Recently Viewed:
solaris.opensol...    editors.vim/200...    web.turbogears....    jakarta.ant.dev...    mathematics.max...    text.unicode.ge...    lang.ruby.core/...    xfce.announce/2...    network.centeri...    php.cvs.pear/20...    user-groups.lin...    kde.devel.quant...    file-systems.ar...    redhat.fedora.t...    apple.fink.auto...    gnome.orbit.gen...    qplus.devel/200...    culture.transpo...    video.dri.user/...    operators.nanog...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation