Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 45491 invoked from network); 14 Nov 2007 15:55:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Nov 2007 15:55:46 -0000 Received: (qmail 16366 invoked by uid 500); 14 Nov 2007 15:55:31 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 16350 invoked by uid 500); 14 Nov 2007 15:55:31 -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 16341 invoked by uid 99); 14 Nov 2007 15:55:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2007 07:55:31 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bradmoody@gmail.com designates 209.85.198.190 as permitted sender) Received: from [209.85.198.190] (HELO rv-out-0910.google.com) (209.85.198.190) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2007 15:55:33 +0000 Received: by rv-out-0910.google.com with SMTP id k20so201118rvb for ; Wed, 14 Nov 2007 07:55:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=yJ1buLzyn431k2BMDGKM20RqGt+85kO++kyWIiggDrA=; b=doTRq+EPESfg5sM3Y9kPcP3lG+HEPahiawkXsri92tD/vF+61lgPbhNQ4ak4EFQTp/OMapamHm3LuJvGjuQflbexqGaO8QNEr3XM+jggaGaTE6/0jei+jB2I2y/Ke0NrREMdOUR/5J3xebAanYChumhRS05J3aLrsILoT1z2iZ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=g7XcKHeKgJch9Ore53tHl7Oge4rLMhxBLWP5jSZaDa7XDZxex7VlknbwONPKNoF7blig78qoHWvW1s1pQoif+lKTn+D1i6H6ZiOneW8KRSvdEpFuvletdp8tca/BoItHSvowi+e/J+xA0eARN5At+kY8a4QkZswMxaxed0ABvP8= Received: by 10.141.161.6 with SMTP id n6mr286705rvo.1195055108434; Wed, 14 Nov 2007 07:45:08 -0800 (PST) Received: by 10.141.62.12 with HTTP; Wed, 14 Nov 2007 07:45:08 -0800 (PST) Message-ID: Date: Wed, 14 Nov 2007 15:45:08 +0000 From: Brad Reply-To: jackrabbit@javawork.co.uk Sender: bradmoody@gmail.com To: users@jackrabbit.apache.org Subject: Extra attributes and namespaces added during WebDAV upload MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 4f38350206c27560 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm using the WebDAV capability of JackRabbit to store XML files. I was previously using the Slide client libraries to upload the files but as that project is now closed I want to use another client library. I tried using just plain commons-http but JackRabbit is adding extra attibutes and namepsaces to the document. For example, it adds these extra namespace declarations: xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:rep="internal" xmlns:fn_old="http://www.w3.org/2004/10/xpath-functions" xmlns:sv="http://www.jcp.org/jcr/sv/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:fn="http://www.w3.org/2005/xpath-functions" jcr:primaryType="nt:unstructured" Also, every element gets another attribute added to it: jcr:primaryType="nt:unstructured" Can anyone advise me how to stop it doing this? Do I need to configure the JackRabbit server in a certain way? I really need just the original XML document stored. Just out of interest, has anyone got any ideas as to how this happens when I use commons-http but not with the slide client? Anyway, thanks in advance for any help recieved. Brad.