Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@www.apache.org Received: (qmail 42518 invoked from network); 31 Mar 2004 10:40:19 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 31 Mar 2004 10:40:19 -0000 Received: (qmail 36980 invoked by uid 500); 31 Mar 2004 10:39:51 -0000 Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 36910 invoked by uid 500); 31 Mar 2004 10:39:51 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 36893 invoked from network); 31 Mar 2004 10:39:50 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 31 Mar 2004 10:39:50 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1B8d8d-0003Yt-00 for ; Wed, 31 Mar 2004 12:40:03 +0200 Received: from host190-154.pool80204.interbusiness.it ([80.204.154.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Mar 2004 12:40:03 +0200 Received: from nicolaken by host190-154.pool80204.interbusiness.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Mar 2004 12:40:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: forrest-dev@xml.apache.org From: Nicola Ken Barozzi Subject: Re: upgrading an existing forrest installation Date: Wed, 31 Mar 2004 12:39:59 +0200 Lines: 60 Message-ID: References: <200403301256.08761.rob.exley@equifax.com> <40698AFC.6080305@che-che.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: host190-154.pool80204.interbusiness.it User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en In-Reply-To: Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Dave Brondsema wrote: > On Tue, 30 Mar 2004, Juan Jose Pablos wrote: ... >>It complains about @level on the TOC element. It has been replace >>@max-depth. Now he have 2 options here: >> >>1)allow the level attribute even it will not be used. >> >>2) create a xsl file that convert old skin @level to be converted to >>@max-depth > > I don't have a problem with breaking backwards compatibility here because > the fix is so easy. We just have to make sure we document it on an > "upgrading to 0.6" page. We don't necessarily need to break it. Look here: http://cvs.apache.org/viewcvs.cgi/xml/forrest/trunk/src/core/context/resources.xmap?rev=9585&root=Apache-SVN&view=markup In particular this: This means that every time skinconf is used, the xsl in {forrest:home}context/skins/common/skinconf.xsl is *always* applied. So if we mark all the elements as not required and put default values in the above xsl, along with transformations for name changes, we will not break compatibility. -- Nicola Ken Barozzi nicolaken@apache.org - verba volant, scripta manent - (discussions get forgotten, just code remains) ---------------------------------------------------------------------