title: How can I parse an empty element with tinyxml2?
body: <p>Using tinyXml2, I can parse <pre>&lt;MSG_TIME&gt;2010-07-01 14:28:20&lt;/MSG_TIME&gt;</pre> just fine, but <pre>&lt;MSG_TIME&gt;&lt;/MSG_TIME&gt;</pre> and <pre>&lt;MSG_TIME/&gt;</pre> both throw exceptions in C++ when those are perfectly valid XML (to my knowledge). Does anyone have a fix or suggestion for this? I do not control the source of this XML, and I need to be error tolerant.</p>