Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1621

Use application/xml as the XML media type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • jackrabbit-webdav
    • None

    Description

      As noted in JCR-1310, at least in jackrabbit-webapp but possibly also elsewhere we should be using application/xml instead of text/xml as the content type when serving XML over HTTP.

      The text/xml type has been widely criticized because of character encoding issues (see for example http://www.xml.com/pub/a/2004/07/21/dive.html), and there has even been an attempt to officially deprecate text/xml because of this. The application/xml type doesn't suffer from these issues, and is thus a better choice when serving XML.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jukkaz Jukka Zitting
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: