473,465 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ReadXML not being called when implementing IXmlSerializable

Hi
I have an object model which includes a Dictionary<> property which I am
trying to serialize/deserialize using IXmlSerializable as follows

class X:IDictionary<a,b>,IXmlSerializable)

What is happening is that the objects get persisted fine (checked using
notepad) and I can step through the WriteXml routine using the debugger.
However when trying to deserialize, my ReadXml routine is just not being
called - break points in the debugger are never being hit. The bizarre thing
is I have two such collections implemented pretty much identically and one
works and one doesn't!

Can anyone give me any pointers as to what the problem might be.

Thanks

Marek
Jun 22 '06 #1
0 1495

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Tim Mulholland | last post by:
Hopefully someone can point out what is going on here. I'll give a short explanation first, then a more detailed one at the bottom if anyone wants to dig into it more. I have a strongly-typed...
3
by: Raj Chudasama | last post by:
I am trying to read an xml file and have it view data in the datagrid. (For example take the xml file viewer in the visual studio, when u open an xml file it has that nice readable grid). I...
2
by: C Glenn | last post by:
I'm attempting to use ReadXml. It's working in that I end up with some data in the DataSet. But I'm not able to deal with it effectively after that. The XML file is properly formatted in that it...
0
by: Guy Soffer | last post by:
Hi, I have a serialized object which looks like: <List> <ItemName="a"> <ItemName="b"> <Node Name="c" /> </Item> </Item>
0
by: Guy | last post by:
Hi, I have a serialized object which looks like: <List> <ItemName="a"> <ItemName="b"> <Node Name="c" /> </Item> </Item>
1
by: BlouHond | last post by:
Hi, I'm using VB.net 2005. My dataset is called DsDetails1 My XML file is called details.xml When I use ReadXML, is there any way that I can set the path of this XML file to be read to be the...
2
by: =?Utf-8?B?Ym9iYnk=?= | last post by:
I whave a custom membershipProvider which inherits from MembershiopUser also I want to implement IXmlSerializable. Is my following code correct. public class SSOMembershipUser :...
1
by: Rainer Queck | last post by:
Hello NG, I am using a typed DataSet, created with VS dataset designer. I have the problem , that a table in the dataset refuses to read a xml file. The strange thing is that if I create a...
0
by: Arto Viitanen | last post by:
I am using WriteXML/ReadXml pair to save DataSet for later use. DataSet is built by reading textfiles and storing their data to different DataTables. Each file contains several complex values, that...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.