W3C home > Mailing lists > Public > www-svg@w3.org > October 2010

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 04 Oct 2010 11:23:04 -0400
Message-ID: <4CA9F158.8080904@mit.edu>
To: Paul Williams <pwilliams@infotrustgroup.com>
CC: www-svg <www-svg@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:46 GMT