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

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

From: Mark Irving <Mark.Irving_at_informatix.co.uk>
Date: Mon, 04 Feb 2008 12:22:48 -0000

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?

  - Mark Irving.

---------------------------------------------------------------------
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 14:55:27 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.