W3C home > Mailing lists > Public > xml-dist-app@w3.org > December 2001

Re: Media type encoding parameter?

From: Mark Baker <distobj@acm.org>
Date: Fri, 21 Dec 2001 11:01:42 -0500 (EST)
Message-Id: <200112211601.LAA27328@markbaker.ca>
To: asynch_messaging@hotmail.com (Asynch Messaging)
Cc: xml-dist-app@w3.org
> Is this like a schema/dtd/etc identifier (in the case of XML)?

Sort of, in that it's a resource related to the document.  It's just
the value of the encodingStyle.

> If so, I'd like to see a full header like Content-Model. For xml it would
> help processors know the schema or root element or something.
> In the bizarre case of someone sending serialized java objects, you could
> use it to specify the interface(s) that the embedded object implements (as
> an example of non-xml uses for a full-fledged header).

A new header is a possibility, but given that the encoding is an
attribute of the content, and only makes sense in the context of
a SOAP XML serialization, doing it as a SOAP & XML specific media
type parameter seems to me to make good sense.

MB
-- 
Mark Baker, Chief Science Officer, Planetfred, Inc.
Ottawa, Ontario, CANADA.      mbaker@planetfred.com
http://www.markbaker.ca   http://www.planetfred.com
Received on Friday, 21 December 2001 11:02:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 22:28:13 UTC