application/xml mime-type in recent libstdc++ doc changes

Florian Weimer fweimer@redhat.com
Tue Dec 11 09:52:00 GMT 2012


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:

https://bugzilla.redhat.com/show_bug.cgi?id=886005

-- 
Florian Weimer / Red Hat Product Security Team



More information about the Libstdc++ mailing list