Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 13D599093 for ; Mon, 26 Mar 2012 11:30:52 +0000 (UTC) Received: (qmail 23047 invoked by uid 500); 26 Mar 2012 11:30:51 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 22998 invoked by uid 500); 26 Mar 2012 11:30:51 -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 22991 invoked by uid 99); 26 Mar 2012 11:30:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 11:30:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 11:30:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 14915346076 for ; Mon, 26 Mar 2012 11:30:28 +0000 (UTC) Date: Mon, 26 Mar 2012 11:30:28 +0000 (UTC) From: "Frank Lyaruu (Created) (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <938442266.16979.1332761428175.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (JCR-3278) Can not add xml files to a repository MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Can not add xml files to a repository ------------------------------------- Key: JCR-3278 URL: https://issues.apache.org/jira/browse/JCR-3278 Project: Jackrabbit Content Repository Issue Type: Bug Components: jackrabbit-core Affects Versions: 2.4, 2.6 Environment: Mac OSX 10.7.3, Java 6 Reporter: Frank Lyaruu I have problems adding xml files to a jackrabbit repository. I tried both the standalone distribution and the web application. This is what I did: - I start the standalone jackrabbit: java -jar jackrabbit-standalone-2.6-SNAPSHOT.jar -I connect to the repository in the MacOS Finder using WebDav (Cmd-K -> http://localhost:8080/repository/default/) Now I can copy files into the repository, this works fine. I tried all kind of files, images, videos, pdf, it all works EXCEPT xml files. When I add an xml file (I don't think it matters what kind) a small file appears with size 179 bytes, containing: In the log the following line appears: 2012-03-26 13:19:11.987 ERROR [1008915893@qtp-275558166-3] DavResourceImpl.java:537 Error while importing resource: java.io.IOException: XML parse error - There is no xml error, all xml files I tried behave like this. - Even if there was, that should not prevent jackrabbit from storing the file (right?) In the meantime, how can I configure jackrabbit to treat xml files as regular text files so I can move on with my project? thanks, Frank -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira