ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wascally Wabbit <wascallywab...@earthling.net>
Subject Re: Is DynamicConfigurate slated to be made namespace-aware?
Date Wed, 19 May 2004 13:54:21 GMT
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...



>Wascally Wabbit wrote:
>
>>Hi All,
>>
>>Just wondering if DynamicConfigurator's "createDynamicElement"
>>will be supplemented for namespace-bound elements? Perhaps a
>>new interface that extends DynamicConfigurator? Currently I
>>cannot get the full context for the element so "a:thing" is
>>passed in as "thing"...which ComponentHelper cannot find.
>>
>>
>>The Wabbit
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>>For additional commands, e-mail: dev-help@ant.apache.org
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>For additional commands, e-mail: dev-help@ant.apache.org

The Wabbit 



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


Mime
View raw message