"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