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

Re: Text mime types

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-06-06 14:39:54 CEST

On 06.06.2005, at 14:09, Martin Probst wrote:

>> However there are also many textual mime types that starts with
>> application like application/xhtml+xml
>
> I ran into this with application/xml. The MIME-type is by the way in
> my opinion correct, as stuff like XML or XHTML is only partially
> usable for humans.
>
> The annoying thing about that is that there is no possiblity to
> override subversions behaviour, at least none that I know of. E.g.
> "svn diff" on a "application/xml" file always refuses to work, and
> there is no --force switch or something similar.
>
> It should be either (client side?) configurable which MIME-types are
> considered binary, or at least a --force-text switch, or better both.
>
> Issue 1002 covers the client side configure part, but not the
> --force-text.

I note that RFC 2376 [1] states that both application/xml and text/xml
are available for XML documents, and that the latter should be used
when the file should be treated as text. This sounds reasonable to me,
but I don't know how authoritative RFC 2376 is.

[1] http://www.ietf.org/rfc/rfc2376.txt

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 6 15:28:26 2005

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