ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Ellsworth <>
Subject Re: Why does this not created a munged file as requested?
Date Tue, 17 Sep 2002 16:07:26 GMT

On Monday, September 16, 2002, at 11:29  AM, Greg 'Cosmo' Haun wrote:

> You are getting a parse error because you can't use \" to escape a 
> quote in XML.  Perhaps &quot; would work, but I don't see why you need 
> quotes around _generate.

That was, indeed, the problem with the quote escaping.  Too much time 
doing Java strings, not enough doing XML parsing/creation.  (The quote 
escaping was needed for values in _generate = "false" -> _generate = 
"true", and I went a bit mad adding them to keys as well.)

> Also <filter> is for char-delimited tokens, not general search and 
> replace.  For that you want to use the <replace> task.

That solved it.  Thanks!


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message