473,378 Members | 1,207 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

XSDObjectGen and Infopath XSD

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
complex XSD still generated by infopath. So do you have any idea of
what's wrong this XSD?

Thanks,

Pascal.

XSD:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xsd:schema
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2005-08-24T15:38:07"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://schemas.microsoft.com/office/infopath/2003/myXSD/2005-08-24T15:38:07">
<xsd:element name="datiGrafo">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="my:alarms" minOccurs="0"/>
<xsd:element ref="my:values" minOccurs="0"/>
<xsd:element ref="my:chart" minOccurs="0"/>
</xsd:sequence>
<xsd:anyAttribute namespace="http://www.w3.org/XML/1998/namespace"
processContents="lax"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="alarms">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="my:alarm" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="alarm">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="my:minValue" minOccurs="0"/>
<xsd:element ref="my:maxValue" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="minValue" type="xsd:double"/>
<xsd:element name="maxValue" type="xsd:double"/>
<xsd:element name="values">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="my:value" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="value">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="my:timestamp" minOccurs="0"/>
<xsd:element ref="my:data" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="timestamp" type="xsd:dateTime"/>
<xsd:element name="data" type="xsd:double"/>
<xsd:element name="chart">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="my:yaxis" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="yaxis">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="my:minYAxis" minOccurs="0"/>
<xsd:element ref="my:maxYAxis" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="minYAxis" type="xsd:double" nillable="true"/>
<xsd:element name="maxYAxis" type="xsd:double" nillable="true"/>
</xsd:schema>

Command-line used :

xsdobjectgen myschema.xsd /l:vb /n:datiXML

Nov 12 '05 #1
0 1807

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

Similar topics

2
by: Pavan | last post by:
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...
3
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...
2
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...
0
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...
4
by: MJ | last post by:
A question for InfoPath and ASP.NET experts: What do you think about the future of InfoPath and ASP.NET WebForms? Is InfoPath 12 going to replace ASP.NET WebForms? If not, in which types of...
3
by: Jeff Richardson | last post by:
This is a repost from the InfoPath news group. Hi, I am writing a SharePoint application that works with InfoPath forms. When a user submits a completed InfoPath form to a forms library my code...
0
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...
0
by: =?Utf-8?B?Q2hhcmxlcyBTaW1wc29u?= | last post by:
Hello I've tried in the InfoPath groups but no luck yet. Here is my situation: All computers are on an Active Directory domain in the company. I have an Infopath form stored on the network...
0
by: Anni | last post by:
Hi, Can anyone please tell me how do I give same namespace for different infopath forms.? I have an XML formed by an infopath form, the XML is : <?mso-infoPathSolution...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.