Re: why does <text/> have no firstChild with value ""

On 10/4/10 11:13 AM, Paul Williams wrote:
> There is a very real, and potentially important semantic difference between the following concepts:
>
> Empty:<text></text>
> Null:<text/>

Uh... there is?  Last I checked, the latter is just a syntactic 
shorthand for the former in XML, with no semantic difference (e.g. the 
DOM, Infoset, etc that are produced are identical).

-Boris

Received on Monday, 4 October 2010 18:01:25 UTC