Re:The havoc the XML purists wrought
by eli on Wednesday May 19, 2010 @10:28AM
(#1361057)
If you wrote code to crawl the tree generated from that XML, you'd have text nodes (of whitespace) in one, but not the other.
[ Parent
| on HN ]
That's what I thought - I don't think I've ever seen an application that would bother with that difference.
You're using that application right now - XHTML takes the difference into consideration. Consider the <pre /> tag:
<pre><b>Hello!</b></pre>
is rendered differently from <pre>
<b>Hello!</b>
</pre>Good point! :-)