RE: replacement of properties in addText(String)

2003-10-25 Thread Dominique Devienne
> From: Conor MacNeill [mailto:[EMAIL PROTECTED] > > > > Also, can someone explain me why Ant merges all the text segments > > of a node, when this node contains child elements? SAX doesn't... > > It has never really been a goal of Ant to support mixed content. In > general, elements should either

RE: replacement of properties in addText(String)

2003-10-25 Thread Conor MacNeill
> > Also, can someone explain me why Ant merges all the text segments > of a node, > when this node contains child elements? SAX doesn't, so why does Ant merge > them? You thus loose the relative ordering between the child elements and > the text notes... I'm sure someone will argue against mixed c

Re: replacement of properties in addText(String)

2003-10-24 Thread peter reilly
On Friday 24 October 2003 14:56, Dominique Devienne wrote: > > From: peter reilly [mailto:[EMAIL PROTECTED] > > Sent: Friday, October 24, 2003 7:59 AM > > To: [EMAIL PROTECTED] > > Subject: replacement of properties in addText(String) > > > > In > > http

Re: replacement of properties in addText(String)

2003-10-24 Thread Stefan Bodewig
On Fri, 24 Oct 2003, peter reilly <[EMAIL PROTECTED]> wrote: > On Friday 24 October 2003 14:59, Stefan Bodewig wrote: >> But those can't be Strings or would otherwise be completely >> useless, at least. > Dooh!.. Let's simply say that I've been around when we realized that addText(String) was no

Re: replacement of properties in addText(String)

2003-10-24 Thread peter reilly
On Friday 24 October 2003 14:59, Stefan Bodewig wrote: > On Fri, 24 Oct 2003, peter reilly <[EMAIL PROTECTED]> wrote: > > I was thinking of addExpandedText(), but there could > > be tasks out there with elements. > > But those can't be Strings or would otherwise be completely useless, > at least.

RE: replacement of properties in addText(String)

2003-10-24 Thread Dominique Devienne
> From: Dominique Devienne [mailto:[EMAIL PROTECTED] > > > > I was thinking of addExpandedText(), but there could > > be tasks out there with elements. > > > > Why not simply addText(String message, boolean replaceProperties)? > OK, this is silly of course. Never mind. --DD ---

Re: replacement of properties in addText(String)

2003-10-24 Thread Stefan Bodewig
On Fri, 24 Oct 2003, peter reilly <[EMAIL PROTECTED]> wrote: > I was thinking of addExpandedText(), but there could > be tasks out there with elements. But those can't be Strings or would otherwise be completely useless, at least. It is not addExpandedText() but addExpandedText(String) and a ta

RE: replacement of properties in addText(String)

2003-10-24 Thread Dominique Devienne
> From: peter reilly [mailto:[EMAIL PROTECTED] > Sent: Friday, October 24, 2003 7:59 AM > To: [EMAIL PROTECTED] > Subject: replacement of properties in addText(String) > > In > http://issues.apache.org/bugzilla/show_bug.cgi?id=11585 > there is a discussion about whet

replacement of properties in addText(String)

2003-10-24 Thread peter reilly
In http://issues.apache.org/bugzilla/show_bug.cgi?id=11585 there is a discussion about whether ant core should do property replacement or whether a new introspection method could be added to do this. If a new introspection method is added (this is quite easy to do), what should it be called? I wa