Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 95526 invoked from network); 22 May 2008 12:58:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 May 2008 12:58:26 -0000 Received: (qmail 57509 invoked by uid 500); 22 May 2008 12:58:26 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 57481 invoked by uid 500); 22 May 2008 12:58:26 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 57470 invoked by uid 99); 22 May 2008 12:58:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 May 2008 05:58:26 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 May 2008 12:57:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 91566234C118 for ; Thu, 22 May 2008 05:57:55 -0700 (PDT) Message-ID: <222901421.1211461075587.JavaMail.jira@brutus> Date: Thu, 22 May 2008 05:57:55 -0700 (PDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-1621) Use application/xml as the XML media type In-Reply-To: <303528150.1211384635695.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599005#action_12599005 ] Jukka Zitting commented on JCR-1621: ------------------------------------ Following up from JCR-1310, in revision 659095 I made sure that the exported XML is always encoded in UTF-8 and that the Content-Type header is set to "text/xml; charset=UTF-8" which should be safe. I'll review the other cases listed by Angela to see what (if anything) we should do. > Use application/xml as the XML media type > ----------------------------------------- > > Key: JCR-1621 > URL: https://issues.apache.org/jira/browse/JCR-1621 > Project: Jackrabbit > Issue Type: Improvement > Components: jackrabbit-webdav > Reporter: Jukka Zitting > Priority: Minor > > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.