Help!
Is the following legal HTML or, more specifically XHTML?
<span class="foo">bar</span class="foo">
I want to write a ‘dumb’ metadata parser that can parse fragments of markup and doesn’t need to count in and out of nested div or span tags. Being able to explicitly label attributes in closing tags would help, to say the least.