Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: strangeness of XHTML vs HTML rendering
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strangeness of XHTML vs HTML rendering



Sorry, forget to add... I do serve these files via Apache and it does map XHTML into application/xhtml+xml MIME.

On Oct 4, 2006, at 2:58 PM, Dean Matsueda wrote:

Below is the sample of HTML code which produce different
rendering depending on extension of the file it contained in.
 If file has extension "HTML", then it gets rendered properly
( 2 lines of text.
"Hello world" and "some more text" ).  However, if file has
extension "XHTML", then it gets rendered as single line.


Looking at your code, it doesn't look like you're specifying the MIME
type for XHTML documents, for one thing.

Great article, by the way, on the trouble with serving up XHTML
documents from the WebKit team:

"Understanding HTML, XML and XHTML"
http://webkit.org/blog/?p=68

HTH,
..dean

_______________________________________________ Do not post admin requests to the list. They will be ignored. Web-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >RE: strangeness of XHTML vs HTML rendering (From: "Dean Matsueda" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.