[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: John Peacock <john.peacock_at_havurah-software.org>
Date: Wed, 06 Feb 2008 09:39:57 -0500

John Aldridge wrote:
> John Peacock wrote:
>> There is a MIME type, text/xml:
>>
>> http://www.ietf.org/rfc/rfc2376.txt
>>
>> which can be used for XML documents that are to be treated as text.
>
> But doesn't help my colleagues original problem which is with a DTD.
>

See, this is the thing I don't understand. Don't set a mime-type on
your XML or DTD documents, and Subversion will assume they are text and
let you merge/blame/etc to your heart's content. If you do want/need to
set the MIME type for some reason, just use 'text/xml' and Subversion
will be happy to treat the files as text. No one needs to know that the
MIME type from Subversion's standpoint isn't "precisely accurate".

QED

John

---------------------------------------------------------------------
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-06 15:40:24 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.