Return-Path: X-Original-To: apmail-openoffice-dev-archive@www.apache.org Delivered-To: apmail-openoffice-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 22FD5CEC4 for ; Fri, 21 Jun 2013 06:06:30 +0000 (UTC) Received: (qmail 41984 invoked by uid 500); 21 Jun 2013 06:06:27 -0000 Delivered-To: apmail-openoffice-dev-archive@openoffice.apache.org Received: (qmail 41840 invoked by uid 500); 21 Jun 2013 06:06:18 -0000 Mailing-List: contact dev-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list dev@openoffice.apache.org Received: (qmail 41827 invoked by uid 99); 21 Jun 2013 06:06:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jun 2013 06:06:17 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rajaths.rajaths@gmail.com designates 209.85.214.170 as permitted sender) Received: from [209.85.214.170] (HELO mail-ob0-f170.google.com) (209.85.214.170) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jun 2013 06:06:11 +0000 Received: by mail-ob0-f170.google.com with SMTP id ef5so8151238obb.1 for ; Thu, 20 Jun 2013 23:05:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=yxFQwvLBOSCfKfi/uTdOzxCWqXhh3vmwXvZPXj5Zd3M=; b=YHzzfxfHzKSFsmy6KBN3vvFyhlCnRqeuXSbjswJjpJPIuChFmfxxHKSs2cLUYIVYO+ paQvyYDZEGUIkFtvkK11zYjmLuh/iNhe2GoLZNPDpdhXEoCT2hozT0mFRvPGwWbz69oM QnUy8CUh0FWAitN1WUpKagNWVxN12WlDiZtjAwX5h7PmwCuzltQtFNnAcns4RZsET8a/ kWtos80hRwTZ+Y9UpsvFaTKkN9644dbmHkD0qOYyqTW1cTkkk1LnPaBXFQ7BcKi8VVsm 9JoCUCBQR9mlZerQbNUp+BvJyvVlo/tw0wHqYQJeeO9sedh+pvmO+fhNcTJETYA/2qzn BjMA== MIME-Version: 1.0 X-Received: by 10.182.129.230 with SMTP id nz6mr2944223obb.49.1371794751170; Thu, 20 Jun 2013 23:05:51 -0700 (PDT) Received: by 10.76.113.228 with HTTP; Thu, 20 Jun 2013 23:05:51 -0700 (PDT) Date: Fri, 21 Jun 2013 11:35:51 +0530 Message-ID: Subject: "Insert" command From: Rajath Shashidhara To: dev Content-Type: multipart/alternative; boundary=089e0149d27cd92e4804dfa3da7c X-Virus-Checked: Checked by ClamAV on apache.org --089e0149d27cd92e4804dfa3da7c Content-Type: text/plain; charset=ISO-8859-1 Hello, The explanation for "insert" command is not clear to me. If I call "insert" for a document, then I'll have to set the InputStream to to existing document. What happens If I call "insert" for a folder? Also, if the object specified by path doesnt exist on the repository, what kind of error should be raised? I mean the XContentIdentifer points to a location that doesnt exist, what kind of exception must be thrown? -- Rajath S, M.Sc(Hons.) Physics, Birla Institute of Technology and Science - Pilani, Pilani --089e0149d27cd92e4804dfa3da7c--