Re: soap:body and media types (fwd)

Anish Karmarkar <[email protected]>
Newsgroups gmane.text.xml.distributed
Message-ID <[email protected]>
Perhaps not the best place to discuss Atom, but was curious as to how 
this work given that MIME media types apply to octet-streams?

-Anish
--

Mark Baker wrote:
> I see Atom as a sort of "simple SOAP" in that it's a generic, XML based
> envelope for content.  It might interest you to know that it supports
> using a media type to describe the content of entries, even when they're
> XML;
> 
>   On the atom:content element, the value of the "type" attribute MAY be
>   one of "text", "html", or "xhtml".  Failing that, it MUST be a MIME
>   media type, but MUST NOT be a composite type (see Section 4.2.6 of
>   [MIMEREG]).  If the type attribute is not provided, Atom Processors
>   MUST behave as though it were present with a value of "text".
> 
>  -- Sec 4.1.3.1 of
>     http://www.ietf.org/internet-drafts/draft-ietf-atompub-format-09.txt
> 
> Mark.
> --
> Mark Baker.  Ottawa, Ontario, CANADA.          http://www.markbaker.ca
> Coactus; Web-inspired integration strategies   http://www.coactus.com
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.