Wascally Wabbit wrote:
At 04:06 AM 5/19/2004, you wrote:
DynamicConfigurator is NS unaware.
(This was for BC reasons, in ant1.6betaX).
There is work in progress to make
a DynamicConfiguratorNS -
see:
http://issues.apache.org/bugzilla/show_bug.cgi?id=28426
One question:
should the interface give the ns prefix or the qualified name,
ie:
Object createDynamicElement(
String uri, String prefix, String localName) throws
BuildException;
or
Object createDynamicElement(
String uri, String qualifiedName, String localName) throws
BuildException;
The second form may be more useful for talking to Dom.
Peter
I think the second form can also be passed directly into
ComponentHelper's various APIs without a side call to
'genComponentName'. So the second form gets my vote...
This is not unfortunately correct.
The component name has the "uri" and not the ns prefix,
so one would still need to do genComponentName(uri, localName)
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]