Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B2D8B7DEC for ; Wed, 7 Dec 2011 10:54:08 +0000 (UTC) Received: (qmail 2733 invoked by uid 500); 7 Dec 2011 10:54:08 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 2697 invoked by uid 500); 7 Dec 2011 10:54:08 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 2685 invoked by uid 99); 7 Dec 2011 10:54:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2011 10:54:08 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of anchela@adobe.com designates 64.18.1.185 as permitted sender) Received: from [64.18.1.185] (HELO exprod6og103.obsmtp.com) (64.18.1.185) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2011 10:53:59 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob103.postini.com ([64.18.5.12]) with SMTP ID DSNKTt9FsqFpjgoPAp/YfHyqBmi65MRUGReF@postini.com; Wed, 07 Dec 2011 02:53:39 PST Received: from inner-relay-4.eur.adobe.com (inner-relay-4.adobe.com [193.104.215.14]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id pB7ApqEt002587 for ; Wed, 7 Dec 2011 02:51:53 -0800 (PST) Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id pB7Ara7o008220 for ; Wed, 7 Dec 2011 02:53:36 -0800 (PST) Received: from eurcas01.eur.adobe.com (10.128.4.27) by nacas01.corp.adobe.com (10.8.189.99) with Microsoft SMTP Server (TLS) id 8.3.192.1; Wed, 7 Dec 2011 02:53:35 -0800 Received: from angela.corp.adobe.com (10.132.1.235) by eurcas01.eur.adobe.com (10.128.4.111) with Microsoft SMTP Server id 8.3.192.1; Wed, 7 Dec 2011 10:53:12 +0000 Message-ID: <4EDF4598.7030403@adobe.com> Date: Wed, 7 Dec 2011 11:53:12 +0100 From: Angela Schreiber User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: "users@jackrabbit.apache.org" Subject: Re: WebDAV, surpressing XML parsing References: <70E72B48-95A5-45ED-B7E0-94BF1071166B@valtech.de> In-Reply-To: <70E72B48-95A5-45ED-B7E0-94BF1071166B@valtech.de> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit hi ingomar the jackrabbit webdav server allows to configure how new resources are mapped to the underlying JCR content structured. those are 'importhandler' implementations that are defined in the resource config that comes with the servlet. by default the complete set of handlers is activated including one that extracts zip-files and creates jcr items from the elements in an xml file. in order to change that behavior by editing the resource config and commenting/removing those iohandlers (and property handlers) that you don't need. if i remember correctly the file to look for is called config.xml by default... somewhere in the web.xml and org.apache.jackrabbit.server.io.XmlHandler was the handler to get rid of. hope that helps angela On 12/7/11 11:41 AM, Ingomar Otter wrote: > Folks, > I want to use WebDAV to store simple XML-liek document. It seems that through WebDAV, Jackrabbit actually parses the XML and creates > a JCR node structure out of the XML. Although this may be fine in some applications, I am looking for a simple "store the file" behaviour. > On top of that, storing seems to fail if an invalid XML document is POSTed to the WebDAV servlet. How can I surpress this behaviour? > I've tried different content-types for no avail. > I've tried to locate the parts in question in the source but as I am new to Jackrabbit I couldn't locate it. > > Hints appreciated. > -- Ingomar >