Make reading xml robust to blank values

This is related the #4. Older versions of OpenCV do not like blank values in XML. I am on Linux Mint 14, gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1), OpenCV 2.3.1-11ubuntu2.