Is XHTML harmful to your diet?
I had the privilege of having a short interview with Steven Pemberton. Mr. Pemberton, is currently the Chair of HTML and Forms Working Groups at the W3C. SC Sarven Capadisli SP Steven Pemberton SCHello, Steven. SPHello. SCI was reading the Internet Explorer trick to use application/xml and it uses the Transitional Doctype. Is that a specific example, or can Strict Doctype be also used? SPThe IE trick works just as well with strict as with transitional. SCIs it harmful to send text/html content-type under XHTML 1.0 Strict Doctype? SPIt is not harmful to send strict as text/html. Sending XHTML as text/html is independent of DTD used. XHTML Media Types is a good place to go for information about which media type to use where, and what it means. SCIf the content-type is sent with text/html, doesn't it defeat the purpose of using the XHTML Doctype then? SPSure. If you send it as text/html, then the browser thinks it is HTML, not XHTML, so all the error correcting that happens with HTML happens. SCSo might as well send HTML? SPIt depends what you are trying to achieve. The text/html trick is for the transition period until all browsers can accept XHTML properly. IE is the only one holding out, but I'm sure they will change eventually. Even their software needs XHTML in places. Infopath for instance produces and consumes XHTML, not HTML. SCWhy is the main page of W3C is using the meta content-type as text/html, but the actual headers of the page is sent as application/xhtml+xml? From what I've read, If XHTML is used, meta should not be used for the header (and as it also appears to have no effect) SPW3C home page uses content negotiation, but only to work out which mime type to use. It uses the same content so the meta is there for the HTML case (personally I would have left the meta http equiv stuff out). SCThank you for your time and clearing this up, Steven. Much appreciated! SPNo problem. Related Resources: Re: Sniffing XHTML sent as text/html from Steven Pemberton on 2000-09-13 Beware of XHTML Activating the Right Layout Mode Using the Doctype Declaration Sending XHTML as text/html Considered Harmful
- About
- html
- interview
- mimetype
- pemberton
- w3c
- Creator
- i
- DatePublished
- 5 April 2005 21:17
- Description
- en I had the privilege of having a short interview with Steven Pemberton. Mr. Pemberton, is currently the Chair of HTML and Forms Working Groups at the W3C. SC Sarven Capadisli SP Steven Pemberton SCHello, Steven. SPHello. SCI was reading the Internet Explorer trick to use application/xml and it uses the Transitional Doctype. Is that a specific example, or can Strict Doctype be also used? SPThe IE trick works just as well with strict as with transitional. SCIs it harmful to send text/html content-type under XHTML 1.0 Strict Doctype? SPIt is not harmful to send strict as text/html. Sending XHTML as text/html is independent of DTD used. XHTML Media Types is a good place to go for information about which media type to use where, and what it means. SCIf the content-type is sent with text/html, doesn't it defeat the purpose of using the XHTML Doctype then? SPSure. If you send it as text/html, then the browser thinks it is HTML, not XHTML, so all the error correcting that happens with HTML happens. SCSo might as well send HTML? SPIt depends what you are trying to achieve. The text/html trick is for the transition period until all browsers can accept XHTML properly. IE is the only one holding out, but I'm sure they will change eventually. Even their software needs XHTML in places. Infopath for instance produces and consumes XHTML, not HTML. SCWhy is the main page of W3C is using the meta content-type as text/html, but the actual headers of the page is sent as application/xhtml+xml? From what I've read, If XHTML is used, meta should not be used for the header (and as it also appears to have no effect) SPW3C home page uses content negotiation, but only to work out which mime type to use. It uses the same content so the meta is there for the HTML case (personally I would have left the meta http equiv stuff out). SCThank you for your time and clearing this up, Steven. Much appreciated! SPNo problem. Related Resources: Re: Sniffing XHTML sent as text/html from Steven Pemberton on 2000-09-13 Beware of XHTML Activating the Right Layout Mode Using the Doctype Declaration Sending XHTML as text/html Considered Harmful
- GeneratedAtTime
- 5 April 2005 21:17
- Has creator
- i
- Name
- enIs XHTML harmful to your diet?
- Publisher
- i
- RelatedLink
- html-minimal-verbose
- human-language-and-html
- linked-specifications-reports
- microformats-misconceptions
- my-responses-are-in-white
- WasAttributedTo
- i