Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 73080 invoked from network); 14 Jun 2006 08:52:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jun 2006 08:52:49 -0000 Received: (qmail 19996 invoked by uid 500); 14 Jun 2006 08:52:46 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 19961 invoked by uid 500); 14 Jun 2006 08:52:45 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 19946 invoked by uid 99); 14 Jun 2006 08:52:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jun 2006 01:52:45 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jun 2006 01:52:43 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2F91271421B for ; Wed, 14 Jun 2006 08:51:31 +0000 (GMT) Message-ID: <28186096.1150275091192.JavaMail.jira@brutus> Date: Wed, 14 Jun 2006 08:51:31 +0000 (GMT+00:00) From: "Paul Libbrecht (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Commented: (JELLY-230) Problem with default namespace in imported scripts In-Reply-To: <20102428.1147587488031.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JELLY-230?page=comments#action_12416139 ] Paul Libbrecht commented on JELLY-230: -------------------------------------- Lukas... replacenamespace is working fine for me. The following: creates me: as I expect. If you get this re-output verbatim, your xml taglib version is wrong... the replaceNamespace tag is missing. Tell us if it helps... I am a bit reluctant to insert back the implicit replaceNamespace as it is a normal purist approach to consider it a bug (and there's no way to get rid of it). Would it be too many changes on the maven side ?? paul > Problem with default namespace in imported scripts > -------------------------------------------------- > > Key: JELLY-230 > URL: http://issues.apache.org/jira/browse/JELLY-230 > Project: Commons Jelly > Type: Bug > Components: core / taglib.core > Versions: 1.1 > Environment: jelly-1.1-SNAPSHOT > Reporter: Lukas Theussl > Assignee: james strachan > Priority: Critical > > I am trying to build Maven with jelly-1.1-SNAPSHOT from svn trunk because it contains a fix for a regression that has blocked us for a long time, see > http://jira.codehaus.org/browse/MAVEN-1691 (gee, I wish I'd checked the svn archives earlier!). > However, even though jelly-1.1-SNAPSHOT solves the above issue, it also leads to a whole bunch of test failures in several of our plugins. > After some investigation I found that they all turn out to be due to the same cause, an apparent backwards incompatibility introduced in the fix for JELLY-213. > I am not sure actually if this is a bug or the intended behavior, but it certainly breaks backwards compatibility. > To illustrate the problem: in the ant plugin we use the following snippet to generate an ant build.xml file from a template: > > > > where the template file build.jelly looks like this (simplified): > xmlns:ant="jelly:ant" > xmlns:j="jelly:core" > xmlns="dummy"> > > > > > > > > Note the xmlns="dummy" namespace declaration which is necessary to distinguish the default namespace of the template script from Maven's default namespace. Now with jelly-1.0, this works as expected, but with the current jelly-1.1-SNAPSHOT, I get: > > > > > > > > > ie the dummy namespace declaration makes it into the top-level element of the generated file. This makes ant very unhappy when invoked on this build file... -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org