> -----Original Message-----
> From: Jacob Kjome [mailto:[EMAIL PROTECTED] 
> Sent: Monday, January 22, 2007 3:13 PM
> To: Ant Users List
> Subject: Re: <xmlproperty> intra-element attribute property 
> resolution issue
> 
> 
> I think Brian is correct.  XML attributes have no defined 
> order other than the
> obvious alphabetical order, which might be an implementation 
> detail.  Even so,
> I wonder if logic could be written to maximize resolution.  
> If a property is
> found to not be resolved, it could be deferred until other 
> attributes are
> processed.  If after all attributes are processed, a property 
> is still not
> resolved, then so be it.  But it would make sense to try.  If 
> it were to pose a
> performance issue, it could be an option of XMLProperty 
> defaulting to 'false'. 
> I'm not sure how complex the logic might be, but I would 
> think it's doable.
> 
> Jake

It's not a solvable problem. How do you resolve this:

<element a="${element.b}" b="${element.a}"/>

?

--
Rick Genter
Principal Software Engineer
Silverlink Communications
<mailto:[EMAIL PROTECTED]> 

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

Reply via email to