Description:
---------------
When parsing the imageset XML files the position and dimensions of images have incorrect values when the values in the xml document are represented as integers. Calls to XmlConvert.ToSingle seem to cause this.
For example, the value "64" results in -10, and a value of "64.0" results in 64.0f.
Platform:
---------------
- Windows Vista 64bit, forced build to x86
- .Net platform 2.0 & 3.0 (don't have the exact version here)
- Visual studio 2005
Where:
---------------
Occurences of XmlConvert.ToSingle are on ImageSet.cs line 569 and onward. 5 occurences.
Suggested fix:
---------------
Replace with float.Parse