|
-
July 12th, 2006, 09:36 AM
#3
Re: String Comparison problem
 Originally Posted by torrud
Maybe you should post your compare method and the serialize/deserialize block?
I think you are running into charset problems during serialize/deserialize.
The entire compare method is quite messy in this early stage but you can imagine that it looks at each element of the new deserialized class and searches for that same text in the old deserialized class. The actual comparison is something like:
Code:
if(XMLnewAtt.AttValue == XMLoldAtt.AttValue)
{
//We have a match!
}
What do you mean, exactly by serialize/deserialize block? I just use the XmlSerializer provided with .NET...
I'm betting there's something wrong with the deserialize method because the serialized XML files contain that string, exactly. As a side note, the data does get serialized with a special namespace.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|