Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 34497 invoked from network); 25 Jul 2007 16:00:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jul 2007 16:00:56 -0000 Received: (qmail 27640 invoked by uid 500); 25 Jul 2007 16:00:55 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 27578 invoked by uid 500); 25 Jul 2007 16:00:55 -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 27559 invoked by uid 99); 25 Jul 2007 16:00:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2007 09:00:55 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2007 09:00:54 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 512097141EE for ; Wed, 25 Jul 2007 09:00:31 -0700 (PDT) Message-ID: <29752878.1185379231308.JavaMail.jira@brutus> Date: Wed, 25 Jul 2007 09:00:31 -0700 (PDT) From: "Prasad Kashyap (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-2660) Uniqueness constraint missing in multiple places in geronimo schema's In-Reply-To: <31219698.1166078660980.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-2660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasad Kashyap updated GERONIMO-2660: ------------------------------------- Description: Uniqueness constraint is missing in multiple places in geronimo schema's, this allows the multiple attributes to be specified in geronimo plan files without any problem. Few examples: In geronimo-web and openejb, multiple ejb-local-ref or any references with same ref-name are allowed, which is wrong. In openejb multiple cmp fields with same name are allowed. These are just two examples, if we look at any xsd file we dont have many constraints, if we look at coorsponding j2ee descriptors schema we will see all the required constraints. It is not a mandatory feature to have, but I think right guidelines should be followed. It will require lot of changes though, in all the schema files. was: Uniqueness constraint is missing in multiple places in geronimo schema's, this allows the multiple attributes to be specified in geronimo plan files without any problem. Few examples: In geronimo-web and openejb, multiple ejb-local-ref or any references with same ref-name are allowed, which is wrong. In openejb multiple cmp fields with same name are allowed. These are just two examples, if we look at any xsd file we dont have many constraints, if we look at coorsponding j2ee descriptors schema we will see all the required constraints. It is not a mandatory feature to have, but I think right guidelines should be followed. It will require lot of changes though, in all the schema files. Fix Version/s: (was: 2.0-M5) Wish List > Uniqueness constraint missing in multiple places in geronimo schema's > --------------------------------------------------------------------- > > Key: GERONIMO-2660 > URL: https://issues.apache.org/jira/browse/GERONIMO-2660 > Project: Geronimo > Issue Type: Improvement > Security Level: public(Regular issues) > Components: deployment > Affects Versions: 2.0-M5 > Environment: Any > Reporter: Rakesh Midha > Assignee: Rakesh Midha > Fix For: Wish List > > > Uniqueness constraint is missing in multiple places in geronimo schema's, this allows the multiple attributes to be specified in geronimo plan files without any problem. > Few examples: > In geronimo-web and openejb, multiple ejb-local-ref or any references with same ref-name are allowed, which is wrong. > In openejb multiple cmp fields with same name are allowed. > These are just two examples, if we look at any xsd file we dont have many constraints, if we look at coorsponding j2ee descriptors schema we will see all the required constraints. > It is not a mandatory feature to have, but I think right guidelines should be followed. It will require lot of changes though, in all the schema files. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.