W3C home > Mailing lists > Public > www-validator@w3.org > May 2002

Re: Scripts...

From: Nick Kew <nick@webthing.com>
Date: Sat, 11 May 2002 12:37:31 +0100 (BST)
To: Bjoern Hoehrmann <derhoermi@gmx.net>
cc: <www-validator@w3.org>
Message-ID: <20020511122511.X1222-100000@fenris.webthing.com>

On Sat, 11 May 2002, Bjoern Hoehrmann wrote:

> * Nick Kew wrote:
> >On Sat, 11 May 2002, Bjoern Hoehrmann wrote:
> >
> >> * Ville Skytt wrote:
> >> >Maybe a nitpick thingy, but I'd rather not recommend using
> >> >"text/javascript" since it is not officially registered in IANA [1].
> >> >
> >> >"application/x-javascript" would IMHO be a better, more established
> >> >choice, that's what for example Apache sends by default.  See also [2].
> >>
> >> Using private media types in a public envoirement is worse to me than
> >> using a not-yet registered type. But this is offtopic here...
> >
> >On the contrary, that's exactly what "x-[anything]" media types are for:
> >a type known to one or more Client or Server, but not registered.
>
> Yes, private media types are for use between two parties, but publishing
> on the WWW implies an agreement between you and the rest of the world.

Such an agreement is perfectly compatible with use of unregistered media
types.  All that means is that a particular resource is of no interest
to a Client that doesn't understand a particular type.  For example,
my own HyperLens application involves transferring unregistered media
types over HTTP for internal use, and also permits export of data to
certain standard formats and proprietary formats used by other software.

-- 
Nick Kew

Available for contract work - Programming, Unix, Networking, Markup, etc.
Received on Saturday, 11 May 2002 07:37:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:03 GMT