From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <4BAB9A2D.5020705@maht0x0r.net> References: <09878a44d12791405e8b8b2bebb140f4@ladd.quanstro.net> <4BAB7B7A.60904@maht0x0r.net> <13426df11003250956h141ee41dr57358ac08631e7f8@mail.gmail.com> <4754958d1003251011l258d747dnffcde376ef98191d@mail.gmail.com> <4BAB9A2D.5020705@maht0x0r.net> Date: Thu, 25 Mar 2010 17:33:56 +0000 Message-ID: <6a3ae47e1003251033u60a63300vc0a7d1bc7c2a0517@mail.gmail.com> From: Robert Raschke To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=00032555b2a28650070482a37369 Subject: Re: [9fans] quote o' the day Topicbox-Message-UUID: f1df3c28-ead5-11e9-9d60-3106f5b1d025 --00032555b2a28650070482a37369 Content-Type: text/plain; charset=UTF-8 On Thu, Mar 25, 2010 at 5:15 PM, maht wrote: > On 25/03/2010 17:11, Corey Thomasson wrote: > >> Not really related, but I got a good laugh from this. >> As soon as I opened this email in gmail, the "targeted ad" changed to >> >> "Editing xml is difficult." >> >> > well that is true, the following snippets are not the same, the second has > two more nodes > > hi > > > hi > > > > And depending on what parser you're using, you might get the same tree or not! Found out recently, that some parsers very "helpfully" elide "empty" TEXT nodes. Robby --00032555b2a28650070482a37369 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Thu, Mar 25, 2010 at 5:15 PM, maht <maht-9fans@maht0= x0r.net> wrote:
On 25/03/2010 17:11, Corey Thomasson wrote:
Not really related, but I got a good laugh from this.
As soon as I opened this email in gmail, the "targeted ad" change= d to

"Editing xml is difficult."
=C2=A0
well that is true, the following snippets are not the same, the second has = two more nodes

<a><b>hi</b></a>

<a>
<b>hi</b>
</a>



And depending on what parser you're using, you m= ight get the same tree or not! Found out recently, that some parsers very &= quot;helpfully" elide "empty" TEXT nodes.

Robby

--00032555b2a28650070482a37369--