You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Todor Boev <t_...@prosyst.bg> on 2003/02/08 16:36:32 UTC

Hex character escaping.

Can I use the "&#x<hex number>" format to escape characters when I specify
values in Ant?
For example I need to have this executed:

<pathconvert targetos="windows" pathsep="&#xA" property ="build.list"
refid="build.fileset"/>

In other words instead of the default OS path separator I need a line-feed
(#xA). When run this produces an "Illegal hexadecimal character reference"
error. I also tried to escpae the letter "A" in an <echo
message="...&#x41..."/> task but it yelded the same result.

Todor Boev