Look up XML entities, like > (read '&' 'g' 't' ';')

You may just need the missing semicolon. I'm not sure whether &#X; accepts
dec/oct/hex for X. I'd assume it does. --DD

-----Original Message-----
From: Todor Boev [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 08, 2003 9:37 AM
To: [EMAIL PROTECTED]
Subject: 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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to