> 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 support nested content or nested elements.

Thanks. I appreciate the details, and I'll look up the thread for more.
 
> This issue could be revisited but would need to be changed in a backward
> compatible way. i.e. the Task would need to indicate that it wants to
> receive mixed content. Is the usecase strong?

No. I merely wanted to know the rational behind the current behavior,
which I re-discovered working on an enhanced <echo>, which supports
pretty-printing nested elements like <path>s, etc...

I turn around the issue by detecting mixed content, and failing in
this case, and provided a simple <text> nested element to properly
interspace textual info with other nested elements. --DD

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

Reply via email to