Dominique Devienne wrote:
From: Peter Reilly [mailto:[EMAIL PROTECTED]
Ah, I see, you are trying to
use the contents of "sources" in javc and also in bm:lsync.
This is indeed XML NS hell!
The problem is that the ns uri and local name of the Unknown elements
are given to the elements in the calling macro.
In ant 1.6.0+, the namespace of elements discovered by reflection take
the namespace uri of type/task that contains the element (Note this is the
uri and not the localname).
The enclosed patch will allow the namespace of nested elements to be
either the ant uri or the namespace of the containing type/task.
I see this is a two liner, that even puts back in commented out code...
What's the problem with checking it in?
When Ant 1.6.2 being built with it ;-)
It was discussed for ant 1.6.0, but was voted down:
http://marc.theaimsgroup.com/?l=ant-dev&m=106848848930806&w=2
(option c).
Why am I the one always falling in the XML NS traps :-( --DD
:-)
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]