473,569 Members | 2,676 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Xml Versioning Tool

I've been tasked by my boss to write a tool that will update an xml (soap)
file such that when the structure of the object which we're persisting to
the soap file changes, my tool will apply the appropriate updates to bring
the soap file up to the version of the code before the soap file is
de-serialized.

To do this, I'd like to implement a 'change set' approach where I get a
version number which I save as part of the soap file and compare it to code
version number (which I get in from app.config) and apply the appropriate
'change set' files to modify the soap file and bring it up the version of
the code.

The trick seems to be how to identify what information to capture and then
how to apply to make the change.

For example, if there is a property defined in some object that is not part
of the soap file's version of the object I'd like to save the information
necessary to add the appropriate XmlNode. Then, right before the file is
de-serialized, I'd like to retrieve this information and use it to add the
appropriate XmlNode.

1st Question
Are there tools that already do this?

2nd Question
Can someone point me to resources that could provide this information?

3rd Question
Am I barking up the wrong tree to get this done?

My current stumbling block is when this property holds an enum. I can
create an XmlElement with the appropriate name but there are 3 attributes
that I need to add and I see no easy way to add them.
Nov 12 '05 #1
1 1108
Hi Paul,

To me, your resolution is fine. But you have to make sure the difference
between all versions of the xml file. Currently, I don't know any tools
that can do this. Let wait and see if any community member can shed some
light on this issue.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 12 '05 #2

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

Similar topics

4
2341
by: Sandman | last post by:
Hello - I suppose this group could be suitable for my questions... I am interested in a versioning system that works good for web authoring. I don't know what differences web development might pose oon a versioning system, but I have a feeling that it might. First off - I already have a web project up and running with over 160 000 lines...
3
1632
by: Ben Rush | last post by:
Hello, I'm hoping this thread isn't way off topic for this group; I have searched for a while for the right group to post this question to, and since I have regularly posted to .Net groups and this is the "general" one, I thought I would try here. So, I apologize up front if this is severely off topic and hope someone would redirect me to a...
2
528
by: PatrickSA | last post by:
Hi, Am new to web services, so apologies for the basic nature of the question - and apologies in advance if this is the wrong newsgroup. We're building a new web service and I'm looking around for documentation on a number of issues, including versioning of web service interfaces... I've spent the last few hours looking through books,...
1
2106
by: MrNobody | last post by:
Is there any way to have .NET IDE to handle versioning for your application? If for example you want a certain build number to increment every time you build your project? Would need this version to be accessed by the application itself.
3
3742
by: Modica82 | last post by:
Hi all, Does anyone have any views/information on the best way to version web services. I am writing a proposal on how the company should handle versioning of its web services and would like some of your views. I dont have much at the moment, i am going to gather some research but as i said, any info would be greatly appreciated. ...
1
1643
by: zacks | last post by:
Am using VB.NET 2005. I have a solution that has four projects. Two projects are standard windows applications. One is a class library that is shared by the two windows application projects, it is primarily used to serialize/deserialize an XML configuration file.. The third project is a standard Setup project that installs the two windows...
1
2093
by: betbubble | last post by:
I replicate (transactional replication) my data entry database to a read-only database. Both are SQL 2000+SP4. The web server reads the read-only database. At times, there will be lots of changes in the data entry database, thus lots of replications to the read-only database. I am concerned that the replication may lock the data in the...
1
2241
by: Coaster | last post by:
orig ref here http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/browse_thread/thread/ff29cc370678911d/c0db5b7e3da283b9?lnk=st&q=gac+assembly+new+version&rnum=7#c0db5b7e3da283b9 I have pasted the part I'm interested in below. My company doesn't use versioning or the gac and I'd like to. We're on vs.net 2005 & .net 2.,...
0
775
by: NagarajanS | last post by:
Hi, Any body tell me open source build versioning tool? i developed one tool and i am fixing bugs as per the incoming issues.Note that i don't have the wincvs.I am only persion fixing the bugs.Now i want to note that for "x.xx" version this "YYYY" bug is fixed.How to do that?Any open source tool is there? source is maintained by myself....
0
7695
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7922
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8119
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7668
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6281
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5509
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
2111
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1209
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.