ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: antlibs/namespaces
Date Wed, 05 Nov 2003 16:35:29 GMT
On Wed, 5 Nov 2003, Dominique Devienne <> wrote:

> This means that if I declare all my namespace prefixes at the top
> level like I do now, I'd have to prefix all nested elements of my
> tasks with the NS prefix?

All except for those that belong to the default namespace (the one
withou a colon after xmlns).

> And what about tasks that takes Ant nested element, like filesets? 

Depends on what your default namespace is.  Unless you change it, Ant
will use it's own namespace as default, so you don't have to prefix

> And what about an Ant task (say <dummy>) with a AddXyz(Xyz xyz)
> method, and I have an <my:xyz> in my AntLib that extends Xyz? Should
> I be able to say:
> <dummy>
>   <my:xyz ... />
> </dummy>
> And thus get limited polymorphism?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message