http://d.puremagic.com/issues/show_bug.cgi?id=5221



--- Comment #12 from Iain Buclaw <ibuc...@ubuntu.com> 2011-01-29 11:59:07 PST 
---
(In reply to comment #11)
> The odd ones that stand out are:
> 
> <!ENTITY AMP              "&#38;#38;" ><!--AMPERSAND -->

amp is 0x0026.

> // The name has a dot (you already noticed.)
> <!ENTITY b.Delta          "&#x1D6AB;" ><!--MATHEMATICAL BOLD CAPITAL DELTA -->

Yep, the DMD parser can't handle it.

> // Notice the leading space in the value.
> <!ENTITY DotDot           " &#x020DC;" ><!--COMBINING FOUR DOTS ABOVE -->

Means nothing.

> // The entity has two characters in its value.
> <!ENTITY bne              "&#x0003D;&#x020E5;" ><!--EQUALS SIGN with reverse
> slash -->

They are called composited characters.

try:
writeln(cast(dchar)0x003D);
writeln(cast(dchar)0x003D,cast(dchar)0x20E5);

And spot the difference.

> // Double chars + initial &#38;.
> <!ENTITY nvlt             "&#38;#x0003C;&#x020D2;" ><!--LESS-THAN SIGN with
> vertical line -->
> 

nvlt is 0x003C,0x20D2.

Regards

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to