473,722 Members | 2,240 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XSDObjectGen error

Hi, I received an error from a schema using the much hyped XSDObjectGen:

Unexpected error occured in XSDObjectGen : Specified cast is not valid.
Please send the schema to support.

However xsd.exe (.NET v1.1) worked ok (did'nt give an error).

I wonder how long we'll have to wait before we get a stable and comprehensive conversion from schema to class.
Nov 12 '05 #1
2 2289

Pavan:

I'm interested in the error you received from xsdobjectgen. Althoug
this tool is officially unsupported, I wrote it and I attempt to fi
bugs such as this. First make sure you have the latest version. Yo
can download. The current version is 1.3.6, and it can be downloade
from http://tinyurl.com/3kv3n . If you downloaded it from any othe
location, especially from the SD West presentation zip file (also o
microsoft.com/downloads), please try the latest version first. If yo
still get the bug, please send the schema to me. Thanks.


Pavan wrote:
*Hi, I received an error from a schema using the much hype
XSDObjectGen:

Unexpected error occured in XSDObjectGen : Specified cast is no
valid.
Please send the schema to support.

However xsd.exe (.NET v1.1) worked ok (did'nt give an error).

I wonder how long we'll have to wait before we get a stable an
comprehensive conversion from schema to class.

-
colinc
-----------------------------------------------------------------------
Posted via http://www.mcse.m
-----------------------------------------------------------------------
View this thread: http://www.mcse.ms/message873914.htm

Nov 12 '05 #2
Hi Colinco,

I do have the latest version. Kindly suggest a secure way I can send you the
schema.

"colinco" wrote:

Pavan:

I'm interested in the error you received from xsdobjectgen. Although
this tool is officially unsupported, I wrote it and I attempt to fix
bugs such as this. First make sure you have the latest version. You
can download. The current version is 1.3.6, and it can be downloaded
from http://tinyurl.com/3kv3n . If you downloaded it from any other
location, especially from the SD West presentation zip file (also on
microsoft.com/downloads), please try the latest version first. If you
still get the bug, please send the schema to me. Thanks.


Pavan wrote:
*Hi, I received an error from a schema using the much hyped
XSDObjectGen:

Unexpected error occured in XSDObjectGen : Specified cast is not
valid.
Please send the schema to support.

However xsd.exe (.NET v1.1) worked ok (did'nt give an error).

I wonder how long we'll have to wait before we get a stable and
comprehensive conversion from schema to class. *


--
colinco
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message873914.html

Nov 12 '05 #3

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

Similar topics

0
1384
by: Burak | last post by:
Hello, I am working on a VB.NET web service that will be used to send and receive job openings. I would like to use their "industry standard" xsd file http://ns.hr-xml.org/2_2/HR-XML-2_2/StandAlone/PositionOpening.xsd which specifies the formatting for job openings.
3
4450
by: Bobby | last post by:
I have a schema and have used XSDObjectGen.exe to create a set of classes that represent the schema. What is the best way to fill xsdobjectgen.exe generated classes with data? I want to create and serialize an instance of one of the classes in this schema. the class is declared publicly, but isn't accessible outside the namespace: ...
2
2232
by: Peter Bates | last post by:
Hi, I'm just getting used to XSDObjectGen and i have the following question. Can i use a class inherited from a class generated by XSDObjectGen with XmlSerialize? Specifically, I have many xml files arriving from a PC inventory scanner we use. I wish to deserialize them and then process them.
0
1840
by: Pascal Brunot | last post by:
Hi, Running XSDObjectGen (1.4.1.0) on the following Infopath-generated XSD gives an "unexpected error": "Event register full" during generation (exact english error message may differ, i am using the italian version). VS.net 2003 accepts the XSD. The strange thing is that I managed using XSDObjectGen on much more
0
990
by: Espen Aase Johnsen | last post by:
Hi! I'm trying to transform a file "e2b_Invoice_v3p1.xsd" that is in this zip-file: http://www.ean.no/ressurser/binaryfile.asp?filID=1015 When i try to transform it to .net object code with this command: "XSDObjectGen.exe e2b_Invoice_v3p1.xsd /n:myInvoice /l:cs" I get an error message that the global element
0
1481
by: Andrew Burgher | last post by:
Feeding the following .xsd into the XsdObjectGen (v1.4.2.0) tool produces an invalid attribute: with DataType="System.String". Has anybody seen this behaviour before? Is this a bug in XsdObjectGen? or a problem with the input schema? I'm trying to avoid hacking the generated code... In: <?xml version = "1.0" encoding = "UTF-8"?> <xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
0
965
by: wc chan | last post by:
I generated an object class by using xsdobjectgen from MS. The object class was OK in our programs. However, when we want to pass the object to a webservice, we got problem. We found that the proxy class generated by 'Add Web Reference' could not be referenced in client program. We got 'object reference not found' error whenever we referred to any element of the object. We could not create the object and passed to any webservices we coded....
0
2993
by: Jeff Killberg | last post by:
I am working on a .NET 2.0 project where we will be defining a large object model in XML schema and generating the C# code to process XML documents conforming to this XML schema into the object model. On a similar project, we used XsdObjectGen.exe. I am trying to determine if there are major enough reasons to use XsdObjectGen or if the .NET 2.0 version of Xsd.exe will suffice. Our XML schema will be defined using a fairly minimal set...
1
4345
by: Veerle | last post by:
Hi, I am experiencing a lot of problems with XsdObjectGen. I downloaded the latest version from http://www.microsoft.com/downloads/details.aspx?FamilyID=89e6b1e5-f66c-4a4d-933b-46222bb01eb0&DisplayLang=en but this is dated september 2006, so it's not very recent. We receive xsds from a third party and our application has to generate xml that is valid for these xsds. This makes that we cannot alter the xsds in any way, we have to...
0
8863
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
9384
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
9238
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
9157
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
9088
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
8052
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
6681
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
5995
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
3
2147
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.