On Wed, 5 Nov 2003, Dominique Devienne <[EMAIL PROTECTED]> 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 it. > 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? Yes. Stefan -- http://stefanbodewig.blogger.de/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]