[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: Karl Fogel <kfogel_at_red-bean.com>
Date: Mon, 04 Feb 2008 09:02:27 -0500

"Mark Irving" <Mark.Irving_at_informatix.co.uk> writes:
> 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 think this has come up before, though I don't remember the
discussion clearly; there may be some reason we're not declaring all
XML to be a line-based text format. Can you search the dev@ list
archive, and if you don't find it, repost your mail to dev@?

Thanks,
-Karl

---------------------------------------------------------------------
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 15:02:47 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.