Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 81937 invoked by uid 500); 28 Jan 2003 13:50:39 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 81926 invoked from network); 28 Jan 2003 13:50:38 -0000 Message-ID: <3E368AA1.30407@verizon.net> Date: Tue, 28 Jan 2003 08:50:25 -0500 From: Vadim Gritsenko User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: What is a Parser? References: <3E357819.5040502@cbim.it> <20030128015440.GB8905@expresso.localdomain> In-Reply-To: <20030128015440.GB8905@expresso.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [141.156.170.156] at Tue, 28 Jan 2003 07:50:39 -0600 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Jeff Turner wrote: >On Mon, Jan 27, 2003 at 07:19:05PM +0100, Ugo Cei wrote: > > ... >> if (saxParser != null) manager.release((Component) saxParser); >> >> > >(cripes.. I've been happily nulling it in my code.. I'd better go fix:) > > :) I guess you are prepared for Avalon 5 where (going by rumors) this won't be necessary. ... >>To further complicate things, Eclipse does not like my little class >>which implements org.apache.avalon.framework.component.Component, since >>it insists that the type Component is deprecated, along with >>ComponentManager. In order to play by the rules, I've removed >>"Component" from the interfaces my class implements, but Cocoon (or is >>it Excalibur?) barfs with a "ClassCastException" when I try to put it in >>cocoon.xconf. Well, I just put back the "implements Component" >>declaration and live with Eclipse's warnings, but I cannot help feeling >>a little disoriented about all this ;-). >> >> > >Yes, those deprecation warnings are annoying and misleading, because >Component is deprecated for Avalon, not Cocoon. Perhaps Cocoon should >have a special avalon-framework-nodepr-4.1.3.jar , without the >@deprecated? > > My thinking, exactly... I mean, we are going to support Cocoon 2 for some time, without changing basic interfaces like Generator, Action, etc. And lots of @deprecation in there won't help in raising user's confidentiality. Avalon gurus out there - should we fork framework? ... Vadim >--Jeff > > > >> Ugo >> --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org