Oh yes. Having commas itself in the data is a "valid" usecase. I'll add the delimiter attribute on Ant's codebase.
Jan >-----Ursprüngliche Nachricht----- >Von: J MacKay [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 24. Oktober 2007 09:44 >An: Ant Users List >Betreff: Re: AW: AW: XmlProperty - can I specify the property >value delimiter? > >[EMAIL PROTECTED] wrote: >> BTW: sources are directly viewable on > >Ah, much better. As you can tell I'm still learning my way >around svn ;) > >> duplicating seems to be the "easiest" way... > >Okay, good. That sounds like what I did. > >> What is the usecase for having an alternative delimiter? > >I need to pass property "x" to a utility class. The utility >class splits the property string on a delimiter and adds each >piece to a List object. The List object is then used by >another class. But since my data may already contain commas, >the utility can't always parse the values correctly. So an >alternative delimiter solves that issue for me. > > __________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
