[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: Nicolas Goutte <nicolasg_at_snafu.de>
Date: 2005-06-06 18:01:04 CEST

On Monday 06 June 2005 14:39, Ryan Schmidt wrote:
> 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.

That is fine for XML which indeed still has a text/* mime type. Unfortunately
it does not work for newer mime types defined by W3C, especially the whole
bunch of application/*+xml ones.

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

Have a nice day!

>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 6 19:06:12 2005

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.