Troubled comments in XML documents

By Roy Osherove In .Net Original

Markdown version

Historical article · Originally published March 28, 2004; technical details may be outdated.

Note to self: a comment in an XML file must not contain string of this nature: '-------------' , or the XML file won't load into an XML Document object. Took me long enough to figure it out though... thanks Ohad.

More in .Net Original

All posts in .Net Original