2

Closed

Point Parsing Bug

description

Hi
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.

jlicht
Closed May 14, 2016 at 11:22 PM by sina_iravanian

comments

roblmich wrote Oct 8, 2013 at 9: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 3: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:
https://yaxlib.codeplex.com/SourceControl/latest