473,657 Members | 2,316 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XSD.exe cannot generate wrapper classes for LandXML

MB
I am trying to work out why .NET 1.1 SP1 (XSD.exe) cannot generate wrapper
classes for LandXML 1.0 or 1.1 (http://www.landxml.org/spec.htm) and yet .NET
2.0 (BETA 1) can for LandXML 1.0. The following tests show the results of
using XSD.exe in each of the four combinations:

..NET 1.1 SP1 with LandXML 1.0: Error: Error generating classes for schema
'LandXML-1_0'.
- The datatype '' is missing.
..NET 1.1 SP1 with LandXML 1.1: Error: There was an error processing
'LandXML-1.1.xml'.
- Undefined data type: 'Point3dOpt'.
..NET 2.0 (BETA 1) with LandXML 1.0: Generates wrapper class (Web Service
call fails to reflect type until you remove some XmlIncludeAttri butes)
..NET 2.0 (BETA 1) with LandXML 1.1: Error: There was an error processing
'LandXML-1.1.xml'.
- DataSet doesn't support 'union' or 'list' as simpleType.

Has anyone had this problem? Agreed it's a huge schema, though Altova XMLSpy
seems to work well and creates its own set of classes for each datatype
(rather than one big Reference.cs file).

Thanks.
Nov 12 '05 #1
1 2283
What is your question and what do you don't understand?

Do you have any sample data?

=============== ========

Are you on the internet ?

What part of communication bisets don't work correctly ?

Is your phone showing colored information subsets?

Is your car spouting bloody oil spils ?

*************** ***********

To make it easier, check below by what year of your information class
expects to share ruling of the world.

1492 [ ]
1776 [ ]
1919 [ ]
1945 [ ]
1964 [ ]
197* [ ]
198* [ ]
199* [ ]
.........
..........

"LandXML 1.0." must be French Freedom Fries.

On your MONOPOLY board, show this post; and GO BACK at least 5 decades.

==========

Below my Home TOWN on March 16, 1945, 60 years ago.

http://www.wuerzburg.de/tourismus/ge...21e5167c07210b
The word Tourism is to remind the reader of who KILLED 5000 Civilians.
************

9/11 stick it.

And have those voting without a paper trail abusing the words of Religion or
Democracy.

With or without XML.

GOT IT.




"MB" <MB@discussions .microsoft.com> wrote in message
news:5F******** *************** ***********@mic rosoft.com...
I am trying to work out why .NET 1.1 SP1 (XSD.exe) cannot generate wrapper
classes for LandXML 1.0 or 1.1 (http://www.landxml.org/spec.htm) and yet ..NET 2.0 (BETA 1) can for LandXML 1.0. The following tests show the results of
using XSD.exe in each of the four combinations:

.NET 1.1 SP1 with LandXML 1.0: Error: Error generating classes for schema
'LandXML-1_0'.
- The datatype '' is missing.
.NET 1.1 SP1 with LandXML 1.1: Error: There was an error processing
'LandXML-1.1.xml'.
- Undefined data type: 'Point3dOpt'.
.NET 2.0 (BETA 1) with LandXML 1.0: Generates wrapper class (Web Service
call fails to reflect type until you remove some XmlIncludeAttri butes)
.NET 2.0 (BETA 1) with LandXML 1.1: Error: There was an error processing
'LandXML-1.1.xml'.
- DataSet doesn't support 'union' or 'list' as simpleType.

Has anyone had this problem? Agreed it's a huge schema, though Altova XMLSpy seems to work well and creates its own set of classes for each datatype
(rather than one big Reference.cs file).

Thanks.


Nov 12 '05 #2

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

Similar topics

0
410
by: Daniel Lidström | last post by:
Hi, I've been trying a long time now to generate some XML using MC++ and XmlSerializer. I have a piece of C# code that produces exactly what I want, but I simply can't get the MC++ code to write the same thing. Below I have included two minimal compilable samples that illustrate my problem. The C# code produces this XML: <?xml version="1.0" encoding="utf-8"?>
3
5107
by: Bert | last post by:
Hi, I would like to generate an xml schema based upon a class, just as you can do with xsd.exe (xsd.exe /type: typename /outputdir:c:\ assmeblyname). Is there a way to do this by code instead of using this tool? Thanks in advance.
6
2131
by: Daniel Lidström | last post by:
Hi, how do I synchronize (to XML using XmlSerializer) something to this: <Alignments name="Road Project"> <Alignment name="Centerline"> <CoordGeom> <Line staStart="0"> <Start>2000 6000</Start> <End>2186.841 6068.005</End> </Line>
2
4710
by: Mountain Bikn' Guy | last post by:
It is known that one cannot pass arguments as ref or out in a marshal-by-reference class. My problem is that I have a C DLL (and C# wrapper) that I need to isolate in an AppDomain and then I need to interact with many objects in that DLL and wrapper by reference. (So the classes inherit from MBRO.) While my app is running, I need to obtain info from objects in the 2nd app domain frequently/speedily and I need update the GUI; and I need to...
0
1018
by: Manuel | last post by:
Hello everyone. After a lot of trial and mostly errors with the VS generated Typed DataSets I decided to make myself one. I would like you to comment on what things should I add/modify (and why). I made a sloppy program that generates the classes given a database but for now I'm not interested in the generator, the generated classes are the focus of my attention right now. Here's an example of how my typed tables work:
16
3433
by: utab | last post by:
Dear all, In programming terminology, what is a wrapper and where is it used? Regards
4
2126
by: a_agaga | last post by:
Hi! Do you know different alternatives to convert exceptions in many methods of some wrapper classes. User -Wrapper classes -LibraryClasses -... Wrapper classes catch an exception of only one type, let's call it e.g. "InternalException_c". There are no other types of exceptions, which should be catched /
6
3466
by: Milsnips | last post by:
Hi there, this is what i'm trying to achieve, i have separate identical classes for SqlClient, OracleClient, Odbc and OleDb, what i want is to create a Wrapper class that calls any of these 4 based on the user connection.... so what i had in mind was something like this: Application starts and prompts user to create a database connection.
5
2162
by: RK Henry | last post by:
Ok, I'm relatively new to C#. Most of my experience has been with C++ and Java. I'm trying to create a Dataset for a web application using the Dataset Designer in Visual Studio 2005. I've read the articles, followed the tutorials, etc. According to all of them, all I have to do is use the wizard or drag tables from the server view panel. Ok, that's easy. It even figures out the relationships from the table keys. (For these experiments,...
0
8411
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
8323
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8838
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...
1
8513
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
8613
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
7351
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
6176
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2740
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

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.