I wanted to know what is the difference between these two Mime types?

  1. When is it better to use?
  2. Why created two Mime types for XML?
  • At first, when seeing a pair of xml lines, everyone was delighted how great and simple everything is, convenient for reading. Therefore, we decided - let it be text. Conveniently. Then he faced reality. And they said - without a bottle you will not understand, so let it be better all the same application. - Sergey
  • I absolutely did not understand you .. - Maks.Burkov
  • If an XML document -- that is, the unprocessed, source XML document -- is readable by casual users, text/xml is preferable to application/xml. MIME user agents (and web user agents) that do not have explicit support for text/xml will treat it as text/plain, for example, by displaying the XML MIME entity as plain text. Application/xml is preferable when the XML MIME entity is unreadable by casual users. - Sergey
  • Did not lead to an understanding .. I read it. Is there a link in Russian? - Maks.Burkov
  • text/xml - for xml, which are intended for human reading. application/xml - for hard-to-digest by humans, for software processing. and so all the same. - Sergey

0