Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 25578 invoked from network); 17 Nov 2003 16:23:57 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Nov 2003 16:23:57 -0000 Received: (qmail 11991 invoked by uid 500); 17 Nov 2003 16:23:24 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 11955 invoked by uid 500); 17 Nov 2003 16:23:24 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 11899 invoked from network); 17 Nov 2003 16:23:23 -0000 Received: from unknown (HELO io.heavens-door.net) (62.96.5.66) by daedalus.apache.org with SMTP; 17 Nov 2003 16:23:23 -0000 Received: from gmx.de (unknown [192.168.28.125]) by io.heavens-door.net (Postfix) with ESMTP id 8816027450 for ; Mon, 17 Nov 2003 17:23:21 +0100 (CET) Message-ID: <3FB8F6DC.3030507@gmx.de> Date: Mon, 17 Nov 2003 17:27:08 +0100 From: Christopher Lenz Organization: mediatis GmbH User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: de-de, de, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: Ant 1.6 and namespace References: <20031117161151.76174.qmail@web20419.mail.yahoo.com> In-Reply-To: <20031117161151.76174.qmail@web20419.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean 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 Matt Benson wrote: > --- peter reilly wrote: > >>For example: >> >>> xmlns:acme="antlib:org.acme.anttasks"> >> >> >> >> >> >> >> >> The arguments are equal >> >> >> >> > > Okay, how about redoing the same example with: > > > ... > > > or will that syntax be available at all? That should be: ... because the prefix mapping applies to the element it is defined on, in addition to all child elements (as long as not overridden). If you want child elements from the Ant core namespace, you'd need to map that to a prefix, so the complete example would look like this: The arguments are equal Of course using a shorter prefix like 'ac' instead of 'antcontrib' also helps to reduce verbosity ;-) BTW, my non-binding +1 to option b). -chris --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org