Point Parsing Bug


I found an bug when I want to Derzerialze a Point.
I think I have found the Bug SplitPathNamespaceSafe() methode, because the FindLocation funktion work not in the right way.
Here is a littel Workaround:
you must change  if (lastStart < temp.Length - 1) to  if (lastStart < temp.Length) 
in line 355 in StringUtils.cs.

I think the Bug is also when o Member has only one Char.

Closed May 15, 2016 at 12:22 AM by sina_iravanian


roblmich wrote Oct 8, 2013 at 10:02 AM

Yes I can Confirm the statement of jlicht.
I have properties with Name X and Y and when I want Deserialize the file I became an Exception.

sina_iravanian wrote Mar 15, 2014 at 4:13 PM

This has been fixed in the library source code, and lots of thanks for pointing to the point this has been broken. The fix will be included in version 2.13. Meanwhile you can build the latest source code and use it: