- From: Jeremy Dunck <ralinon@hotmail.com>
- Date: Mon, 30 Dec 2002 17:29:59 -0600
- To: simonstl@simonstl.com, www-tag@w3.org
>From: "Simon St.Laurent" <simonstl@simonstl.com> A couple niggles: > <snip> >There seems to be a general issue with XML specifications and >content-negotiation. While the HTML object element includes a type >attribute that permits such negotiation [1], as do some other aspects of The type attribute included in HTML is not used for content negotiation, in the strict sense. That is, the value of this attribute is supposed to allow the user agent to decide whether to retrieve a resource at all. From the spec: " This attribute specifies the content type for the data specified by data. This attribute is optional but recommended when datais specified since it allows the user agent to avoid loading information for unsupported content types. If the value of this attribute differs from the HTTP Content-Type returned by the server when the object is retrieved, the HTTP Content-Type takes precedence. " My point is that the server -still- maintains control over the actual MIME type of representation returned. >HTML, SMIL, and SVG, most of the XML-based specifications - including >XInclude and XLink - seem to take a "we provide the URI reference, you >do with it as you like" approach. I am not so sure this is a bad way to go. In my opinion, the server must maintain control of the type of the representation returned. However, that doesn't preclude a client from using it in some other way (And I'm pretty sure I heard this argument here a couple days ago). For example, an XML doc which is included might be treated as text in order to drop it into CDATA, or somesuch. <snip> >While these principle don't explicitly reject the more explicit >specification approach of HTML etc., the combination of their (generally >worthwhile) conservatism and the lack of specification of any explicit >mechanisms in the XML specifications to handle content-negotiation >should effectively provide a straitjacket for conscientious XML >developers. I'm not sure I followed that. Is this derived from the misunderstanding that the HTML type attribute is used in content negotiation? <snip> _________________________________________________________________ MSN 8 with e-mail virus protection service: 3 months FREE*. http://join.msn.com/?page=features/virus&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_eliminateviruses_3mf
Received on Monday, 30 December 2002 18:30:36 UTC