[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: Thomas Scheffler <thomas.scheffler_at_uni-jena.de>
Date: Mon, 4 Feb 2008 16:21:38 +0100

Am Montag, 4. Februar 2008 schrieb Mark Irving:
> I have a repository with a DTD file checked in and carrying the
> property svn:mime-type value application/xml-dtd, the correct
> type for it according to RFC 2043. It is inconvenient to do some
> Subversion operations on it, such as "blame", because Subversion
> thinks it is non-textual. It would be an improvement if XML mime
> types were recognised as text, and specifically this one.
>
> As far as I can tell, the enhancement should be to function
> svn_mime_type_is_binary in subversion/libsvn_subr/validate.c. I
> suggest the following additions to the mime types treated as
> text.
>
> application/xml-dtd
> application/xml
> application/*+xml
>
> (The FAQ and the source agree that Subversion's text mime-types
> are text/*, image/x-xbitmap and image/x-xpixmap.)
>
> Do others agree? Should this be entered as a formal SVN issue?

I would definitifly like to have "application/xml" be treated as text, too.

Maybe you can configure some mime-types that should be handled like text. Or
the better would be to have the "kb" sticky bit of CVS come to subversion. So
everything with it is binary and everything without it is not.

Last week I posted on this issue with the subject "Subversion and binary
files". No solution was found though.

So you have my "+1" for this suggestion.

Greets

Thomas

---------------------------------------------------------------------
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-04 17:12:13 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.