ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: bug in DOMElementWriter
Date Mon, 28 Jun 2010 08:50:32 GMT
On 2010-06-28, Jon Stevens wrote:

[just echoing what Antoine and Dominque already said, Ant doesn't even
      know you used an entity reference to specify the newline.]

> And what about:

> <foo attr="beforenewline&#10;afternewline">

> which ends up like this after 'echoxml'...

> <foo attr="beforenewline
> afternewline" />

Which just is correct, isn't it?  It is perfectly legal to have embedded
newlines inside an attribute even if they look silly.

Does the output cause any problems downstream?  It shouldn't since the
XML technically is the same.

Stefan

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


Mime
View raw message