Re: W3C Last Call and Media Type request for comments: XQuery and XQueryX

John Cowan <[email protected]> Thu, 19 May 2005 13:45:35 -0400
Newsgroups gmane.ietf.xml-mime
Message-ID <[email protected]>
Liam Quin scripsit:

> Interchange of a database query language over the Web in its own
> Internet Type is likely for machine execution or to interchange
> files, not for reading by humans, as then text/plain might be
> more appropriate... but this is conjecture on my part right now.

FWIW, I think this is a Bad Thing.  Programming language content should
go in text/plain files (despite the nasty problem with the encoding
type imposed by text/*), so as to *discourage* browsers from attempting
to execute them, which is a big fat security hole.

The use of text/css in HTML link elements and XML stylesheet PIs is
essentially a hack so that browsers can decide whether to fetch the
stylesheet, and is not consistent with the intention of IETF media
types, which are designed to specify a minimal mapping from raw
octets to interpretable objects such as characters or pixels.

-- 
Unless it was by accident that I had            John Cowan
offended someone, I never apologized.           [email protected]
        --Quentin Crisp                         http://www.ccil.org/~cowan