Anonymous - 2010-12-20

Hi

I've been using tinyxml and for the most part it works great. However I've noticed that it doesn't parse an xml file that has no trailing character. Is this a known issue?  For example this file, which I've output in hex, shows a file with no trailing linefeed (0xA) character. TiXMLDocument::parse fails when given this blob of data.

xxd sdr.xml 
0000000: 3c3f 786d 6c20 7665 7273 696f 6e3d 2231  <?xml version="1
0000010: 2e30 2220 656e 636f 6469 6e67 3d22 7574  .0" encoding="ut
0000020: 662d 3822 3f3e 0a3c 5345 4c45 4354 494f  f-8"?>.<SELECTIO
0000030: 4e5f 4441 5441 5f52 4551 2076 6572 3d22  N_DATA_REQ ver="
0000040: 302e 3122 2075 7365 723d 2263 6c69 656e  0.1" user="clien
0000050: 7420 3122 2f3e                           t 1"/>