[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -1 on MIME-in-XML (was Re: PaceSimpleContentType)
On 07 Jun 2004 07:46:15 -0500, Ken MacLeod <ken@xxxxxxxxxxxxxxxx> wrote:
Greg has provided the context for my discussing why I think
reproducing the efforts of HTTP or MIME in XML is a bad, very bad,
idea for Atom to take on.
I absolutely agree with you. I don't think the Atom format should handle
multipart MIME, but where it's sensible and simple, MIME types might be
used in a 'type' attribute. Hence, I think your proposal should use
'@mode' instead of '@type'. Let's not add more confusion to the format.
We have two proposed solutions for linking to primary content, when
the primary content can't be inlined as XML characters or an XML
fragment:
<content src="URL" type="type/subtype" ... />
and
<link rel="content" type="type/subtype" ... />
I was actually kind of suprised when the 'src' attribute was removed from
<content>. I think I was one of the main advocates for that one, and
although I'm not hurt in anyway seeing it's not there in the current
draft, I feel that we miss something pretty essential. <link> is imho
terrible to use as a pointer to external content, and with your proposal
which tidies the <content> element up, I think adding 'type' and 'src' as
optional attributes to the element doesn't hurt.
We should avoid the current 'mode' and 'type' mess, but both attributes
should continue living. Only now, 'mode' is the single required attribute.
I like the way this is going, and hope we can reach consensus on something
that includes your proposal in the near future.
If consensus is to keep base64 and simplistic media types, I would
definitely like us to clear up this confusion about resource
representations and de-facto profiling when media types are used with
non-base64 content (unless we somehow decide only to apply media types
to raw base64 content).
I think the 'type' attribute should be optional, but it's of course needed
(but still optional) if you squeeze in something as base64.
--
Asbjørn Ulsberg -=|=- asbjornu@xxxxxxxxxxx
«He's a loathsome offensive brute, yet I can't look away»