ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: bug in DOMElementWriter
Date Sat, 26 Jun 2010 19:07:16 GMT
Hello Jon,

do not forget that the ant build file is also written in xml.

To do what you want, you need to write this :

<echoxml>
 <test attr="&amp;#10;" />
</echoxml>



Jon Stevens wrote:
> Here is a better example:
>
> <?xml version="1.0"?>
> <project name="test" basedir=".">
> <echoxml>
>  <test attr="&#10;" />
> </echoxml>
> </project>
>
> [8][ //tmp ]% ant
> Buildfile: build.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <test attr="
> " />
>
> BUILD SUCCESSFUL
> Total time: 0 seconds
>
> Not what I was expecting.
>
> jon
>
>
> On Fri, Jun 25, 2010 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message