Using tinyXml2, I can parse
<MSG_TIME>2010-07-01 14:28:20</MSG_TIME>just fine, but
<MSG_TIME></MSG_TIME>and
<MSG_TIME/>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.