I think you are understanding correctly. It sounds like what I want might require either an include statement (textual inclusion) or project inheritance.
> On Sep 21, 2020, at 9:58 AM, Stefan Bodewig <bode...@apache.org> wrote: > > On 2020-09-21, Alan Snyder wrote: > >> If I have to include the xmlns attribute at each use of a task from the >> library, then this is not what I want. > > Then either I don't understand what you want or you want something that > is not possible with XML namespaces :-) > > XML namespaces care for URIs, not for prefixes. You define mappings > between prefixes and URIs via xmlns:prefix. The mappings are inherited > from an element to all nested elements, but you can not define a mapping > in an element and expect it to be applied to a sibling element. > > This is all handeled by the XML parser and Ant doesn't change that in > any way - it just is told which URI a certain element name is part of > and uses that to find the task. > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org