ietf-xml-mime
[Top] [All Lists]

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

2005-05-19 10:46:07

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.           
jcowan(_at_)reutershealth(_dot_)com
        --Quentin Crisp                         http://www.ccil.org/~cowan