[Home] [By Thread] [By Date] [Recent Entries]
Elliotte Rusty Harold wrote: > According to the documentation this tool "does differentiate between an > empty element <a/> and element with no content <a></a>" This is clearly > wrong. <a/> vs. <a></a> is just syntax sugar. There is no significant > difference between them, and tools should not pretend there is. An empty > element is an element with no content and vice versa. > This is a common misconception among developers and Microsoft should not > be encouraging it. this thread will become philosophical very quickly... the opinion stated above comes from the infoset view of xml, which i think is an important one. however, there clearly *is* a difference between <a/> and <a></a> (just look at it!), but if the ms tool decides to test for differences on the character level, it is not quite clear why it is called xmldiff and not just diff... it should have a switch to switch between syntax and infoset testing. cheers, dret.
|

Cart



