Have you tried <replace file="language.xml" token="@ENCODING" value="<?xml version="1.0" encoding="ISO-8859-1" ?>" />
Michael Bauroth wrote: > Hi MAT, > > unfortunately the issue is another one (using Eclipse): > > <quote> > The value of attribute "value" associated with an element type > "replace" must not contain the '<' character. > </quote> > > Regards > Michael > > Mathieu Champlon schrieb: >> Michael Bauroth a écrit : >>> Hi, >>> >>> I'm having a little problem with the replace task. Here is the code >>> snippet: >>> >>> <replace file="language.xml" token="@ENCODING" value="<?xml >>> version="1.0" encoding="ISO-8859-1" ?>" /> >>> >>> The use of wrapping CDATA doesn't work too. >>> >>> Have you eventually any suggestions? >> Hello, >> >> If I understand the issue correctly : >> <replace file="language.xml" token="@ENCODING" value='<?xml >> version="1.0" encoding="ISO-8859-1" ?>' /> >> or >> <replace file="language.xml" token="@ENCODING" value="<?xml >> version="1.0" encoding="ISO-8859-1" ?>" /> >> >> >> MAT. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]