[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inconsistency between IETF and W3C: XML fragments and media types
MURATA Makoto wrote:
> There is an inconsistency between the IETF-XML-MIME ML and
> recently-published XSLT.
> People at the IETF-XML-MIME ML believe that XML fragments (which
> are referenced by fragment identifiers) do not have media types.
> However, the XSLT recommendation has an example stylesheet-linking PI,
> which specifies "text/xml" for an XML fragment.
I'm not convinced there is an inconsistency here. The style element in
HTML has a required type attribute. Does that imply elements have MIME
types? I don't think so. It's just (ab)using MIME types as identifiers
for stylesheet languages. An alternative view is that the type
pseudo-attribute on the PI is giving the MIME type of the complete
resource, as an optimization to allow the resource not to be fetched if
the MIME type cannot be handled. On either view I don't see an