[Project_owners] XML entities in e4x

Wladimir Palant trev at gtchat.de
Tue Mar 28 21:55:30 EST 2006

Eric H. Jung wrote:
> t is now:
>   <fox><cat name="&amp;&quot;&lt;>>&lt;"/></fox>
> I would have expected t to be:
>   <fox><cat name="&amp;&quot;&lt;&gt;&gt;&lt;"/></fox>

No, XML doesn't require you to escape &gt; - it is enough to escape 
&lt;. So E4X is escaping correctly.


More information about the Project_owners mailing list