ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <ddevie...@gmail.com>
Subject Re: <exec> kicking my butt with something very simple
Date Fri, 05 Dec 2014 19:29:23 GMT
On Fri, Dec 5, 2014 at 8:09 PM, Earl Hood <earl@earlhood.com> wrote:

> On Fri, Dec 5, 2014 at 1:04 PM, Dominique Devienne <ddevienne@gmail.com>
> wrote:
> > Strange, I'd have thought the XML parser would choke before you even got
> to
> > running something. > is one of those reserved characters in XML, that
> must
> > be replaced with a "character entity", "&gt;" (w/o the quotes) in this
> case.
>
> No.  A lone '>' causes no problems.
>
> It is good practice to escape it when a literal '>' is needed, but it
> is not required.
>

Thanks. I now see in http://www.w3.org/TR/REC-xml/#syntax that only < and &
are required to be "escaped". --DD

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message