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 4976D7DF3 for ; Mon, 19 Dec 2011 13:26:41 +0000 (UTC) Received: (qmail 67316 invoked by uid 500); 19 Dec 2011 13:26:40 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 67287 invoked by uid 500); 19 Dec 2011 13:26:40 -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 67269 invoked by uid 99); 19 Dec 2011 13:26:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2011 13:26:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [216.32.181.186] (HELO ch1outboundpool.messaging.microsoft.com) (216.32.181.186) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2011 13:26:32 +0000 Received: from mail177-ch1-R.bigfish.com (10.43.68.251) by CH1EHSOBE005.bigfish.com (10.43.70.55) with Microsoft SMTP Server id 14.1.225.23; Mon, 19 Dec 2011 13:26:05 +0000 Received: from mail177-ch1 (localhost [127.0.0.1]) by mail177-ch1-R.bigfish.com (Postfix) with ESMTP id 2BA2F2803C8 for ; Mon, 19 Dec 2011 13:26:28 +0000 (UTC) X-SpamScore: -11 X-BigFish: PS-11(zzbb2dI9371I1432N98dKzz1202hzzz2dh2a8h668h839h8aah) X-Forefront-Antispam-Report: CIP:213.199.187.153;KIP:(null);UIP:(null);SRV:BULK;H:IE2RD2HUB021.red002.local;RD:none;EFVD:NLI X-FB-SS: 13, Received: from mail177-ch1 (localhost.localdomain [127.0.0.1]) by mail177-ch1 (MessageSwitch) id 1324301187859979_29520; Mon, 19 Dec 2011 13:26:27 +0000 (UTC) Received: from CH1EHSMHS021.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.247]) by mail177-ch1.bigfish.com (Postfix) with ESMTP id CDA463E0047 for ; Mon, 19 Dec 2011 13:26:27 +0000 (UTC) Received: from IE2RD2HUB021.red002.local (213.199.187.153) by CH1EHSMHS021.bigfish.com (10.43.70.21) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 19 Dec 2011 13:26:05 +0000 Received: from IE2RD2XVS171.red002.local ([10.43.202.49]) by IE2RD2HUB021.red002.local ([10.43.198.99]) with mapi; Mon, 19 Dec 2011 05:25:49 -0800 From: Ingomar Otter To: "users@jackrabbit.apache.org" Date: Mon, 19 Dec 2011 05:25:47 -0800 Subject: Re: WebDAV, surpressing XML parsing Thread-Topic: WebDAV, surpressing XML parsing Thread-Index: Acy+UbjVx89n+MEAQSOEfYq1we3Cdw== Message-ID: <6CCBBB25-EBFE-4CB0-B3D1-6BB70C6C94D9@valtech.de> References: <70E72B48-95A5-45ED-B7E0-94BF1071166B@valtech.de> <4EDF4598.7030403@adobe.com> In-Reply-To: <4EDF4598.7030403@adobe.com> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: valtech.de Thank you Angela, that did the trick! :-) -I Am 07.12.2011 um 11:53 schrieb Angela Schreiber: > hi ingomar >=20 > 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. >=20 > 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. >=20 > in order to change that behavior by editing the resource config > and commenting/removing those iohandlers (and property handlers) > that you don't need. >=20 > 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. >=20 > hope that helps > angela >=20 > 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 th= rough WebDAV, Jackrabbit actually parses the XML and creates >> a JCR node structure out of the XML. Although this may be fine in some a= pplications, I am looking for a simple "store the file" behaviour. >> On top of that, storing seems to fail if an invalid XML document is POST= ed 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. >>=20 >> Hints appreciated. >> -- Ingomar >>=20 >=20