ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Hex character escaping.
Date Mon, 10 Feb 2003 15:46:17 GMT
Thanks for the precision and the pointer ;-) Now I know better, and will try
to call it a Character Reference (&#...;) as opposed to an Entity Reference
(&...;). I'd like to say I've read (and understood) the XML spec, but I've
never had the courage to do so. A relevant link is always appreciated for
matters such as below.

BTW, is there somewhere (online or book) an annotated spec analogous to the
Annotated C++ Reference Manual, but for XML? Something more digestible than
the spec... Thanks, --DD

-----Original Message-----
From: J.Pietschmann [mailto:j3322ptm@yahoo.de] 
Sent: Saturday, February 08, 2003 1:23 PM
To: Ant Users List
Subject: Re: Hex character escaping.

Dominique Devienne wrote:
> Look up XML entities, like &gt; (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

See
  http://www.w3.org/TR/REC-xml#dt-charref
&#x...; is hex only, &#...; is decimal. There is no way to
enter octal values. The semicolon is mandatory, of course.

J.Pietschmann

Mime
View raw message