Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 53318 invoked from network); 28 Dec 2005 09:22:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Dec 2005 09:22:27 -0000 Received: (qmail 8133 invoked by uid 500); 28 Dec 2005 09:22:24 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 8066 invoked by uid 500); 28 Dec 2005 09:22:23 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 8052 invoked by uid 99); 28 Dec 2005 09:22:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2005 01:22:23 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id E9C4FCB for ; Wed, 28 Dec 2005 10:22:01 +0100 (CET) Message-ID: <1228951097.1135761721954.JavaMail.jira@ajax.apache.org> Date: Wed, 28 Dec 2005 10:22:01 +0100 (CET) From: "Jean-Christophe Kermagoret (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Commented: (COCOON-1727) CForms do not allow anymore dots '.' in widget id In-Reply-To: <32129239.1135750891980.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/COCOON-1727?page=comments#action_12361316 ] Jean-Christophe Kermagoret commented on COCOON-1727: ---------------------------------------------------- I don't understand very well the rules that make things stable or unstable. Ok, I'm using CForms for 2 years now (woody included) and I may understand what is saying above. But, I suggest to provide a compatibility workaround that permits to avoid to change code for people who consider CForms block stable enough. For example, we could imagine a compatibility attribute in the widget definition that permit to avoid the test I mentioned above. ... If you agree, I will be happy to provide the corresponding patch. > CForms do not allow anymore dots '.' in widget id > ------------------------------------------------- > > Key: COCOON-1727 > URL: http://issues.apache.org/jira/browse/COCOON-1727 > Project: Cocoon > Type: Bug > Components: Blocks: Forms > Reporter: Jean-Christophe Kermagoret > Priority: Blocker > > I just can't use my forms anymore in 2.2 version because I use dots in my widget id. Unfortunately, I usually use the widget id to create the corresponding xml element name, and xml element names may contain dots '.' > The code in AbstractDefinitionBuilder says it does not permit '.' because of path conflicts. Is it true, and in that case in which part of the code ? Or is it just a precaution ? This may oblige developers to change a lot of things in their forms and code related, which is not a very good news :-( if they want to use 2.2 > I should suggest to remove the dot test, or to add compatibility test, that should permit to keep the old naming scheme. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira