ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28426] - DynamicConfiguratorNS
Date Fri, 14 May 2004 12:31:27 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28426>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28426

DynamicConfiguratorNS





------- Additional Comments From peter.reilly@corvil.com  2004-05-14 12:31 -------
The "else if" was on purpose.
There should be only one callback per attribute.
For example if macroinstance used DynamicConfiguratorNs
as well as DynamicConfigurator (for bc purposes), it
could capture the calls to setAttribute (no ns) for
objects that call macroinstance (<for> for example),
and call setAttribute (with ns).

As regards the prefix, you are correct.
The call to Element#setAttributeNS() takes
a qualified name and not a local name (unlike
Element#getAttruibuteNS() which takes a local name),
also Document#createElementNS() takes a qualified
name.

I will update the XMLFragment code and commit.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message