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:[EMAIL PROTECTED]] 
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 > (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

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

Reply via email to