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

Home Posts Topics Members FAQ

XSD created in VS2005 not compatible with VS2003

We are upgrading from VS2003 to 2005. We discovered that the XSD
generated in 2005 (.Net 2.0) is not compatible with what was generated
in 2003 (.Net 1.1), and this breaks our code, as we have serveral
modules that read the XSD file and are sensitive to its structure.

In particular, when you add a SQL server table to a VS2005 project,
the XSD file that is created now has many new annotations such as
msprop:.... I understand these are used by VS2005 to control the .cs
code that is created for the typed dataset. In addition field
attributes are now represented by a sequence. For us these simply
create a problem.

My question is if we can disable the annotations or control somehow
the XSD created so as to create a VS2003 (.Net 1.1) compatible scheme,
or better yet one that is interoperable, w/o anyMS/.NET extensions.

Thanks,

-- Shaul

Jun 12 '07 #1
3 3245
"Shaul Dar" <sh******@gmail .comwrote in message
news:11******** **************@ r19g2000prf.goo glegroups.com.. .
We are upgrading from VS2003 to 2005. We discovered that the XSD
generated in 2005 (.Net 2.0) is not compatible with what was generated
in 2003 (.Net 1.1), and this breaks our code, as we have serveral
modules that read the XSD file and are sensitive to its structure.

In particular, when you add a SQL server table to a VS2005 project,
the XSD file that is created now has many new annotations such as
msprop:.... I understand these are used by VS2005 to control the .cs
code that is created for the typed dataset. In addition field
attributes are now represented by a sequence. For us these simply
create a problem.

My question is if we can disable the annotations or control somehow
the XSD created so as to create a VS2003 (.Net 1.1) compatible scheme,
or better yet one that is interoperable, w/o anyMS/.NET extensions.
What errors are your modules producing?

Any program reading an XSD file should be ignoring attributes in namespaces
it does not understand. The "msprop" attributes are an example of what these
other modules should be ignoring.
--
John Saunders [MVP]
Jun 12 '07 #2
On Jun 12, 3:39 pm, "John Saunders [MVP]" <john.saunder s at
trizetto.comwro te:
"ShaulDar" <shaul...@gmail .comwrote in message

news:11******** **************@ r19g2000prf.goo glegroups.com.. .
We are upgrading from VS2003 to 2005. We discovered that theXSD
generated in 2005 (.Net 2.0) is not compatible with what was generated
in 2003 (.Net 1.1), and this breaks our code, as we have serveral
modules that read theXSDfile and are sensitive to its structure.
In particular, when you add a SQL server table to aVS2005project,
theXSDfile that is created now has many new annotations such as
msprop:.... I understand these are used byVS2005to control the .cs
code that is created for the typed dataset. In addition field
attributes are now represented by a sequence. For us these simply
create a problem.
My question is if we can disable the annotations or control somehow
theXSDcreated so as to create a VS2003 (.Net 1.1) compatible scheme,
or better yet one that is interoperable, w/o anyMS/.NET extensions.

What errors are your modules producing?

Any program reading anXSDfile should be ignoring attributes in namespaces
it does not understand. The "msprop" attributes are an example of what these
other modules should be ignoring.
--
John Saunders [MVP]
Our modules currently are sensitive to the extra info (e.g. we create
XSLT transformations based the XSD, for example to take an XML data
file and create PDF or HTML presentations from it). Yes we could
invest non-trivial work to make them ignore the changes (or apply
another transformation to remove them). But to repeat my question,
can't we have VS2005 emit the same XSD as it did in 2003, or to emit
"clean" W3C standard XSD w/o all the MS annotations?

-- Shaul

Jun 12 '07 #3
"Shaul Dar" <sh******@gmail .comwrote in message
news:11******** *************@r 19g2000prf.goog legroups.com...
On Jun 12, 3:39 pm, "John Saunders [MVP]" <john.saunder s at
trizetto.comwro te:
>"ShaulDar" <shaul...@gmail .comwrote in message

news:11******* *************** @r19g2000prf.go oglegroups.com. ..
We are upgrading from VS2003 to 2005. We discovered that theXSD
generated in 2005 (.Net 2.0) is not compatible with what was generated
in 2003 (.Net 1.1), and this breaks our code, as we have serveral
modules that read theXSDfile and are sensitive to its structure.
In particular, when you add a SQL server table to aVS2005project,
theXSDfile that is created now has many new annotations such as
msprop:.... I understand these are used byVS2005to control the .cs
code that is created for the typed dataset. In addition field
attributes are now represented by a sequence. For us these simply
create a problem.
My question is if we can disable the annotations or control somehow
theXSDcreated so as to create a VS2003 (.Net 1.1) compatible scheme,
or better yet one that is interoperable, w/o anyMS/.NET extensions.

What errors are your modules producing?

Any program reading anXSDfile should be ignoring attributes in namespaces
it does not understand. The "msprop" attributes are an example of what
these
other modules should be ignoring.
--
John Saunders [MVP]

Our modules currently are sensitive to the extra info (e.g. we create
XSLT transformations based the XSD, for example to take an XML data
file and create PDF or HTML presentations from it). Yes we could
invest non-trivial work to make them ignore the changes (or apply
another transformation to remove them). But to repeat my question,
can't we have VS2005 emit the same XSD as it did in 2003, or to emit
"clean" W3C standard XSD w/o all the MS annotations?
This _is_ clean, W3C standard XSD. The standard permits attributes from
other namespaces to appear. Your transform should not be processing
attributes from namespaces it doesn't know about. The effort to fix it might
be trivial. I don't have time to test this now, but how about just adding a
template that matches the MS attributes and does nothing? The rest of your
stylesheets wouldn't need to change.
--
John Saunders [MVP]
Jun 12 '07 #4

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

Similar topics

0
1432
by: craigkenisston | last post by:
Using VS2005 to create an application compatible with framework 1.1 Is this possible ? I like the VS2005 IDE a lot much more than VS2003, however, I'm creating a library that needs to be compatible with frm 1.1. At the begining, I started to use the VS2005 IDE and I thought it could not be a problem, however, when I recreated a project with VS2003 and joined all the pieces I found that I was using stuff not available before, though I...
2
2778
by: -DG- | last post by:
No reply on my previous query, so I'll post this again. I've done a bit more research in the interim. I'm trying to find an easy way to port code from the older VS2003 format to the format used in VS2005. VS2005 uses partial classes to split off the compiler-generated sections of forms. It keeps the editable files uncluttered. I generated very simple projects with VS2003 and with VS2005 to compare the output. Following are...
3
1801
by: Darrin | last post by:
Hello, I see that VS2005 and the new framework 2.0 is out to the public now. Wondering about some things. When you install the new framework 2.0 can a person still use visual studio 2003 or do you need to use Visual Studio 2005? If you can use the new framework 2.0 with VS2003 are there any benifits?
7
1712
by: Frank Rizzo | last post by:
Is it me or is the speed of VS2005 actually slower than VS2003? The startup is pretty bad - even though I changed VS to display an empty environment. When I create a new form and want to change its size: while I am resizing, an hour glass comes up for a few seconds. There a lot of other slowdowns all over the system. It seems like it the hard drive kicks in really hard. Now I did have the VS2005 beta installed, but I uninstalled it...
2
1717
by: Carlo \(MCP only\) | last post by:
Hi to all I'm askyng you a suggestion about the best way to share the same source code between VS2003 and VS2005. The project I'm developing is a controls and components library, and the Solution.sln includes a standard WindowsForms application for testing pourposes. What I need is an efficient and reliable way to edit and test the DLL assembly in both environments, since the library will be distributed for Framework 1.1 and 2.0.
9
1336
by: DrZogg | last post by:
It can't be... say it isn't so... Yes.. there is a fly in the ointment This bug requires 3 projects... yes this is a real world production issue not some tinker toy thing. Start with a C# interface assembly we will call Interfaces namespace Interfaces {
2
5715
by: Tammam | last post by:
Hello All, I had a solution composed of managed/unmanaged C++ , C# projects. It builds with no problem in VS2003 but after converting the solution to VS2005 i get many linking errors such as LNK2020 LNK2028. Below is a little bit of the error report. Error 34 error LNK2020: unresolved token (0A000029) "public: __thiscall std::_Container_base::_Container_base(void)" (??0_Container_base@std@@$$FQAE@XZ) UnmanagedResiprocateController.obj
4
2101
by: Tony Girgenti | last post by:
Hello. I developed a VS.NET2003(VB), ASP.NET web application client program with ..NET Framework 1.1, ASP.NET 1.1, IIS 5.1 and WSE 2.0. I tried to migrate it to VS 2005 Pro(VB), Web Application Projects, .NET Framework 2.0, ASP.NET 2.0, IIS 5.1, WSE ?. Is WSE 3.0 required for VS 2005?
24
1243
by: Squishy | last post by:
I tried installing my VS2005 Pro on Vista Ultimate 32 bit RTM today and got errors stating that VS2005 was not compatible with Vista. Microsoft......please pull your finger out of my ass and tell me this is a joke. It must be a joke....because I also have read that VS2002 and VS2003 will not be supported on Vista. This clearly violates Microsoft's own terms of support for these products.
0
9656
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10366
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10173
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9967
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
4070
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
2
3674
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.