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

Re: Text mime types

From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
Date: 2005-06-10 17:45:15 CEST

On Mon, 6 Jun 2005 14:39:54 +0200, Ryan Schmidt
<subversion-2005@ryandesign.com> wrote:

>I note that RFC 2376 [1] states that both application/xml and text/xml
>are available for XML documents, and that the latter should be used
>when the file should be treated as text. This sounds reasonable to me,
>but I don't know how authoritative RFC 2376 is.
>
>[1] http://www.ietf.org/rfc/rfc2376.txt

Although I've just noticed that
http://www.w3.org/TR/xhtml-media-types/ indicates:

Any XHTML Family document MAY be served as 'text/xml'. The
considerations for 'application/xml' also apply to 'text/xml'.
Whenever appropriate, 'application/xhtml+xml' SHOULD be used rather
than 'text/xml'.

So the application/* is the preferred but not mandatory option. It's
just a shame the preferred option prevents svn from handling them as
text files.

Greg

-- 
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 10 17:47:50 2005

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.