Re: Incorrect Content-Type
Bruce Miller <[email protected]>
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Organization | NIST |
| Message-ID | <[email protected]> |
Brent Clark wrote: > Hiya > > Quick question ... is it valid to send XML syntax etc, BUT the Content > Type in the HTTP header is html. I assume you mean XHTML as opposed to arbitrary XML... Generally, you shouldn't send XHTML unless it has been very carefully contrived to look like html. See http://www.w3.org/TR/2009/NOTE-xhtml-media-types-20090116/ "The 'text/html' media type [RFC2854] is primarily for HTML, not for XHTML. In general, this media type is NOT suitable for XHTML except when the XHTML is conforms to the guidelines in Appendix A. In particular, 'text/html' is NOT suitable for XHTML Family document types that add elements and attributes from foreign namespaces, such as XHTML+MathML [XHTML+MathML]." > Im saying no, but my colleague it saying its ok. > > TIA > > Kind Regards > Brent Clark > _______________________________________________ > Perl-XML mailing list > [email protected] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs -- [email protected] http://math.nist.gov/~BMiller/ _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs