[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Action request: mime-type of xml-dtd should be treated as text

From: John Aldridge <john.aldridge_at_informatix.co.uk>
Date: Wed, 06 Feb 2008 11:27:33 +0000

John Peacock wrote:
> You are missing the point. All files that have MIME types of
> 'application/*' are by definition binary:
>
> http://www.ietf.org/rfc/rfc2046.txt

I think this is a misreading of the specifications. "application/*"
means merely that the text is not written in natural language, not that
it isn't mergeable text.

For example,

    http://www.ietf.org/rfc/rfc4329.txt

makes it clear that

    application/javascript

is the preferred type for a .js file (and that text/javascript is
obsolete). I think we can safely assume that, if a mime-type were ever
standardised for C++ source code, it would be "application/something".

> There is a MIME type, text/xml:
>
> http://www.ietf.org/rfc/rfc2376.txt
>
> which can be used for XML documents that are to be treated as text.

But doesn't help my colleagues original problem which is with a DTD.

-- 
Cheers,
John
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-06 12:27:54 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.