Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@www.apache.org Received: (qmail 84633 invoked from network); 1 Oct 2003 13:07:12 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Oct 2003 13:07:12 -0000 Received: (qmail 3129 invoked by uid 500); 1 Oct 2003 13:07:02 -0000 Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 2999 invoked by uid 500); 1 Oct 2003 13:07:01 -0000 Mailing-List: contact geronimo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: geronimo-dev@incubator.apache.org Delivered-To: mailing list geronimo-dev@incubator.apache.org Received: (qmail 2981 invoked from network); 1 Oct 2003 13:07:01 -0000 Received: from unknown (HELO www.princetongames.org) (66.250.40.202) by daedalus.apache.org with SMTP; 1 Oct 2003 13:07:01 -0000 Received: from localhost (ammulder@localhost) by www.princetongames.org (8.11.6/8.11.6) with ESMTP id h91D9JA28001 for ; Wed, 1 Oct 2003 09:09:19 -0400 X-Authentication-Warning: www.princetongames.org: ammulder owned process doing -bs Date: Wed, 1 Oct 2003 09:09:19 -0400 (EDT) From: Aaron Mulder X-X-Sender: ammulder@www.princetongames.org To: geronimo-dev@incubator.apache.org Subject: Re: Schema target name space (& Sun's IP) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Another issue that I just noticed is that we have copied Sun's web Schema into the Geronimo Web schema (see geronimo-web-app.xsd) including the Sun copyright and the part saying you can't reproduce it without prior written consent from Sun. I suspect we ought to remove this and replace it with something more like the geronimo-ejb-jar.xsd Aaron On Wed, 1 Oct 2003, Aaron Mulder wrote: > On Wed, 1 Oct 2003, Alan D. Cabrera wrote: > > The schema target namespace seems to be http://java.sun.com/xml/ns/j2ee. > > Shouldn't it be http://geronimo.apache.org/xml/schema/j2ee? > > I think we need to discuss this. I originally thought to use the > http://geronimo.apache.org/xml/schema/j2ee address. But I've been burned > by the changing DTDs of "certain other products" enough that I then > decided it should be something more like > http://geronimo.apache.org/xml/schema/1.0/j2ee/1.4/ where the first > version is the product version and the second version is the J2EE version > or something, since we'll need to support several J2EE versions in each > Geronimo version (though of course only one of them uses schemas so far). > > But I think many of the Geronimo schemas were changed to use the > Sun namespace so they would all appear in one pool with the Sun tags. > That is, you could use: > > > foo > bar > > > Where you mix the Sun "entity" and "ejb-name" tags with the > Geronimo "jndi-name" tag without needding to use namespaces: > > > foo > bar > > > Of course, that's a bad example because Sun defines a "jndi-name" > element, but you get the idea. > > On the other hand, we haven't done a very complete job, since now > there's *both* a Sun "jndi-name" and a Geronimo "jndi-name", and you have > to use one for the EJBs and the other for resolving references, which is > the worst of both worlds, because you don't know which you're supposed to > use until your validating parser barfs. I think that could be fixed by > changing the namespace declaration in geronimo-common.xsd. > > Anyway, my preference would be to declare all the Geronimo tags in > a Geronimo namespace. If every app server decided to put its custom tags > in the J2EE namespace, there could be some fairly unpleasant collisions. > I'm not yet decided whether we should repeat all the base Sun tags in a > big set of copy schemas (ick), or force the use of namespaces within the > Geronimo DD (ick). I guess my real preference is to split the DDs back up > again so that's not a problem. :) > > Aaron >