Buged Xml2obj

Post here all your questions related with beta Silverlight API

Moderators: Lapo, Bax

Post Reply
azchohfi
Posts: 3
Joined: 03 Nov 2010, 13:34

Buged Xml2obj

Post by azchohfi »

Just found an other bug.
File SFSObjectSerializer, on function

Code: Select all

private void Xml2obj(XElement xmlNode, SFSObject ao, int depth)
The foreach is wrong. Now it's like this:

Code: Select all

foreach (XElement subNode in xmlNode.Descendants())
But it should be:

Code: Select all

foreach (XElement subNode in xmlNode.Nodes())
Now it's working normaly for me.
Post Reply