[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Microsoft XML Diff and Patch 1.0 available
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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|