Re: KD014 Media types for XML

Karl,

Of course, if one wants to send the source text of an XML document to 
be interpreted as a plain text file, which as you say is a reasonable 
thing to do, then one sends it as text/plain (with a charset parameter 
if not ASCII).    This is really the transmission of a plain text 
document, in function. I don't think the document disallows this.

Tim




> *KD 014
> 4.5.7. Media Types for XML
> """ In general, a representation provider SHOULD NOT assign Internet
> media types beginning with "text/" to XML representations."""
> Hmmmm.... I'm not sure. I understand. But for example if you want to
> display the source code of a XHTML file with text/plain, it's perfectly
> valid and a useful case.

Received on Monday, 18 October 2004 19:35:08 UTC