Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 2870 invoked from network); 7 Aug 2006 08:01:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Aug 2006 08:01:42 -0000 Received: (qmail 88931 invoked by uid 500); 7 Aug 2006 08:01:41 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 88900 invoked by uid 500); 7 Aug 2006 08:01:41 -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 88891 invoked by uid 99); 7 Aug 2006 08:01:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 01:01:41 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of stefan.guggisberg@gmail.com designates 64.233.166.182 as permitted sender) Received: from [64.233.166.182] (HELO py-out-1112.google.com) (64.233.166.182) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 01:01:40 -0700 Received: by py-out-1112.google.com with SMTP id f28so584953pyf for ; Mon, 07 Aug 2006 01:01:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IVNE3joMlfyxHr0GQPoeQ9baZ4F3dFlVuNYps9OGuH8uIfg94Pry/VIrN+APqz76p5gvACrBzgg2neJyzGy+gV0nilEQ5OefXnPVtXOd2HhJicB7ORI2XBptSi24qHL91SrfLNUoCpLc98wOJ3P7qhu0ZmJAqEId7sVsX7iJBkY= Received: by 10.64.156.3 with SMTP id d3mr1299561qbe; Mon, 07 Aug 2006 01:01:19 -0700 (PDT) Received: by 10.64.48.5 with HTTP; Mon, 7 Aug 2006 01:01:19 -0700 (PDT) Message-ID: <90a8d1c00608070101g5bdd9706lb90872fde371ffcf@mail.gmail.com> Date: Mon, 7 Aug 2006 10:01:19 +0200 From: "Stefan Guggisberg" To: dev@jackrabbit.apache.org Subject: Re: AbstractSAXEventGenerator query In-Reply-To: <44D6410C.4040709@sri.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44D6410C.4040709@sri.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 8/6/06, Jack Park wrote: > What might be the objections raised to turning this abstract class into > a public one (in future distributions) for purposes of allowing others > to write exporters in jackrabbit applications that have different > behaviors? That would be done by externally extending this class. (I > realize that, as a default, one can simply duplicate the code in this > class externally). AbstractSAXEventGenerator is a core class. i try to avoid making internal jackrabbit classes public in order to discourage their use from outside of the core package. core classes should not be externally referenced as they might change at any time and without notice. if AbstractSAXEventGenerator is reasonably generic and without dependencies on the core we could consider moving it to a 'util' package. feel free to file an 'enhancement' issue. > > As a for instance, I would prefer to be able to just export an arbitrary > node (perhaps there is a way, but I haven't found it), and I'd prefer to > have the namespace declarations not go with the first node exported, but > instead, go with a set of declarations outside nodes. > And, I wouldn't mind a closing tag (not available in an svn > build from a month ago, possibly changed lately?) i seriously doubt that the exported xml is not wellformed. please create a jira issue if you can proof me wrong. cheers stefan > > Thanks. > Jack >