This is the mail archive of the
mailing list for the libstdc++ project.
Re: application/xml mime-type in recent libstdc++ doc changes
- From: Florian Weimer <fweimer at redhat dot com>
- To: Benjamin De Kosnik <bkoz at redhat dot com>
- Cc: Matthias Klose <doko at ubuntu dot com>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 11 Dec 2012 10:52:43 +0100
- Subject: Re: application/xml mime-type in recent libstdc++ doc changes
- References: <50781A8E.email@example.com> <50C58DD8.firstname.lastname@example.org> <20121210095223.7b0236dc@oakwood>
On 12/10/2012 06:52 PM, Benjamin De Kosnik wrote:
libstdc++-v3/doc/xsl/customization.xsl.in is marked as
svn:mime-type = application/xml
at least on the 4.7 branch, having some unexpected outcome for svn
diff. If this was unintended, could you change the svn:mime-type
back to text?
This is unintentional, and frankly I don't know how the inital mime
type was created or how to fix it.
The Subversion client in Fedora 17 automatically sets application/xml
for .xml files. It seems that "svn add" runs the equivalent of "file
-i" on the new file, and that prints "application/xml" even for text
files. I fell into this trap as well, and have now filed a bug:
Florian Weimer / Red Hat Product Security Team