Re: [xml-dev] UTF-8+names

From
Tim Bray <>
To
Alessandro Triglia <>
Date
2003-10-18T21:21:27Z
ID
<>
Thread
Re: [xml-dev] UTF-8+names
Alessandro Triglia wrote:

> As I understand, in UTF-8+name, an ampersand is represented as  &&;  which
> means that, if UTF-8+name is used for XML, "normal" entity references will
> look like:
> 
> 	&&;myentity;
> 
> and numeric character references will look like:
> 
> 	&&;#12345;

No.  &&; represents an ampersand.  Normally it wouldn't be used in text 
you were going to feed to an XML processor because XML processors don't 
like that.  &amp; represents just "&amp;" because UTF-8+names doesn't 
assign a replacement.  &uuml; represents a single u+umlaut character, 
inhereited from HTML.

-- 
Cheers, Tim Bray (http://www.tbray.org/ongoing/)