I figured out why my xml document from my earlier post
was valid even though I had unclosed br tags in my
comments. It seems that VBCommenter automatically
closed the tags for me. In fact, it did so by placing a
closing br tag all the way at the end of the generated
XML file. So, the file looked ok at first glance as I
scanned down. However, somewhere close to the
bottom two closing br tags had be placed in.
This meant that no error was generated by NDoc related
to my invalid XML - since VBCommenter improperly
made it valid.
I hope this helps someone else and saves them two
days of misery.
Cheers.