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=28444>.
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=28444

Import: Target Handling Bug





------- Additional Comments From [EMAIL PROTECTED]  2004-04-20 13:24 -------
Dominique, I think I was bouching for a different approach (XSLT like) at the 
time which also lost. In any case, under the current approach I tend to agree 
with you.

What I would suggest we can do now is the following:

1) Add a new optional attribute (e.g., "as") which declares a local (private) 
name for the import. The value of this attribute is the only name available to
refer to the imported targets.

 <import file="A.xml" as="myLocalA"/>

2) The default value for the "as" attribute is the name of the <project/> in 
the imported file. (That provides backward compatibility with the current 
behaviour).

Not sure if this simple rules are enough. I would really would like to keep it 
as simple as possible. And most of all avoid aliasing (i.e., the same target 
being accessible by two or more different full names.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to