Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 5895 invoked from network); 19 Aug 2010 02:53:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Aug 2010 02:53:02 -0000 Received: (qmail 9985 invoked by uid 500); 19 Aug 2010 02:53:02 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 9838 invoked by uid 500); 19 Aug 2010 02:53:00 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 9829 invoked by uid 99); 19 Aug 2010 02:53:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Aug 2010 02:53:00 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.58] (HELO smtp103.prem.mail.sp1.yahoo.com) (98.136.44.58) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 19 Aug 2010 02:52:54 +0000 Received: (qmail 35614 invoked from network); 19 Aug 2010 02:52:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=DKIM-Signature:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:Mime-Version:Content-Type:Subject:Date:In-Reply-To:To:References:Message-Id:X-Mailer; b=kU3/fQeXsaHy6/CFRocgPQiM2kc29ZxoF1gahIp/MSFZSg1z8KOv9Br/ovLByz6LrBo+D8iClNAufVpxUUcCUcTp0Nbk7YxOLf+XqDF1Ej+Ewv65E9jM2Cxo3LKYw06fA2DeDP3YkBjs6dWQlR7jAM/XiEUA9gvS8g8GVbMRH7w= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1282186354; bh=8Zc5pC594nrSYpMKXa32g6j8Y/iqgZ63Hw2HmtETuUY=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:Mime-Version:Content-Type:Subject:Date:In-Reply-To:To:References:Message-Id:X-Mailer; b=6doWiGJRnG2BLbEXQbuiVWIUojCGv1CMFwuRvDinKnlfRrzjGlpoeyQacwW6AeD+cKIyTbyPo7QCapaQGDFd3FdCA7J4wcUGlYKHl3kYYLklJmDbAo/nKm+2d1llYJqW7LseWWOiGl6JqG0NCFnMeRJvkZXrQ/dMjikMIFeqj8U= Received: from [10.0.1.147] (david_jencks@76.76.148.215 with plain) by smtp103.prem.mail.sp1.yahoo.com with SMTP; 18 Aug 2010 19:52:32 -0700 PDT X-Yahoo-SMTP: .9oIUzyswBANsYgUm_5uPui0skTnzGJXJQ-- X-YMail-OSG: u.niuhYVM1l0e_Toi_njqD730o7KegjRGuAzIqKPJa_dn.f 7NQ5L_xc5QbWgA7PKXuDziMeRrcXVciGmevESjux.FGqKge3A_A6FQcomBqD r_5jFA0O9MiqF_ciPDLjGgO2RVIwaq_JsgG022vHRlrOrsZzfP.B_wHvREdk TnBIWL9kitsGhaFDrT6CL88_eLChcsBVRp9zsXrO5hNRdUSKSOPt2oJ4FVwk MkEhWBsa3HkVYzvxKt2ZBMrCflXTYN3roUFwPrMhBY2xUiWTBVICwgV6Lm2j nepgIMVCrQk1AtZtrZC9bXrb2lRnmCRb8pv4dpE8SUsiBvUCiDv2bxcDf23t Im.T5NzoLZ7BffQ0- X-Yahoo-Newman-Property: ymail-3 From: David Jencks Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: multipart/alternative; boundary=Apple-Mail-4--1063527125 Subject: Re: Schema version number update ? Date: Wed, 18 Aug 2010 19:52:30 -0700 In-Reply-To: To: dev@geronimo.apache.org References: Message-Id: <09457CE3-AA3A-4B15-9E02-88030AA6AF45@yahoo.com> X-Mailer: Apple Mail (2.1081) --Apple-Mail-4--1063527125 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii IIUC xml schema versioning best practice is to make sure the changes are = backward compatible, keep the schema namespace the same, and have = something like a version attribute you bump up. We are going to have some non-backward compatible changes in the = environment element for some 3.x version since how we specify = classloaders has completely changed. I wonder if this would be a good = time to carefully reexamine out schemas and use a more recommended = approach? cf = http://www.pluralsight-training.net/community/blogs/tewald/archive/2006/04= /14/21733.aspx thanks david jencks =20 On Aug 18, 2010, at 6:12 PM, Ivan wrote: > Comments ? >=20 > 2010/8/17 chi runhua > Agree. Doc will need updates as well and users might be interested in = such changes if they plan to migrate from 2.x to 3.0. >=20 > Jeff=20 >=20 >=20 > On Tue, Aug 17, 2010 at 4:00 PM, Ivan wrote: > Hi, > We might need to update some schemas, like openejb-jar, tomcat = might also needed. IMO, we need to update the version number in each = release when we did changes to the schema files, right ? However, I find = that geronimo-openejb-2.0.xsd has been existed there for a long time, = and many changes are done to it, but we never update the schema version = number.=20 > Any comment? Thanks ! >=20 > --=20 > Ivan >=20 >=20 >=20 >=20 > --=20 > Ivan --Apple-Mail-4--1063527125 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii IIUC = xml schema versioning best practice is to make sure the changes are = backward compatible, keep the schema namespace the same, and have = something like a version attribute you bump up.

We = are going to have some non-backward compatible changes in the = environment element for some 3.x version since how we specify = classloaders has completely changed.  I wonder if this would be a = good time to carefully reexamine out schemas and use a more recommended = approach?


thanks=
david jencks
 
On Aug 18, 2010, = at 6:12 PM, Ivan wrote:

Comments = ?

2010/8/17 chi runhua <chirunhua@gmail.com>
=
Agree.  Doc will need updates as well and users might be interested = in such changes if they plan to migrate from 2.x to = 3.0.

Jeff 


On Tue, Aug 17, 2010 at = 4:00 PM, Ivan <xhhsld@gmail.com> wrote:
Hi,
    We might need to update some schemas, = like openejb-jar, tomcat might also needed. IMO, we need to update the = version number in each release when we did changes to the schema files, = right ? However, I find that geronimo-openejb-2.0.xsd has been existed = there for a long time, and many changes are done to it, but we never = update the schema version number.
    Any comment? Thanks !

-- =
Ivan




--
Ivan

= --Apple-Mail-4--1063527125--