473,387 Members | 1,942 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,387 software developers and data experts.

xsd.exe problem

I get the following error when I run xsd.exe on my xsd file: "It is an error
if maxExclusive is among the members of {facets} of {base typ
e definition} and {value} is greater than or equal to the {value} of the
parent
maxExclusive."

Looking at the line indicated in the error message, I find the beginning of
this derived type:

DERIVED TYPE:
<xs:simpleType>
<xs:restriction base="globLib:PercentageDecimalDataType">
<xs:maxInclusive value="6.20" />
</xs:restriction>

BASE TYPE:
<xs:simpleType name="PercentageDecimalDataType">
<xs:restriction base="xs:decimal">
<xs:minInclusive value="0.00" />
<xs:maxInclusive value="100.00" />
<xs:totalDigits value="5" />
<xs:fractionDigits value="2" />
</xs:restriction>
</xs:simpleType>

There is no maxExclusive.

Am I missing something or is this a bug? If the latter, is there likely to
be a fix anytime soon?
Nov 12 '05 #1
2 1868
I'd say it's a bug ... if nothing else the error message is ;)

Have you reported it at the Whidbey Customer Feedback center [0]? That's
probably the best and fastest way to get it in front of the development
team to see if they fix it. Otherwise you may want to contact PSS and
see if they provide a hotfix, which should be free if it's treated as a
bug.

HTH,
Christoph Schittko
MVP XML
http://weblogs.asp.net/cschittko
[0] http://lab.msdn.microsoft.com/vs2005/
-----Original Message-----
From: tenfingers [mailto:te********@discussions.microsoft.com]
Posted At: Thursday, November 04, 2004 6:50 PM
Posted To: microsoft.public.dotnet.xml
Conversation: xsd.exe problem
Subject: xsd.exe problem

I get the following error when I run xsd.exe on my xsd file: "It is an
error
if maxExclusive is among the members of {facets} of {base typ
e definition} and {value} is greater than or equal to the {value} of the parent
maxExclusive."

Looking at the line indicated in the error message, I find the beginning of
this derived type:

DERIVED TYPE:
<xs:simpleType>
<xs:restriction base="globLib:PercentageDecimalDataType">
<xs:maxInclusive value="6.20" />
</xs:restriction>

BASE TYPE:
<xs:simpleType name="PercentageDecimalDataType">
<xs:restriction base="xs:decimal">
<xs:minInclusive value="0.00" />
<xs:maxInclusive value="100.00" />
<xs:totalDigits value="5" />
<xs:fractionDigits value="2" />
</xs:restriction>
</xs:simpleType>

There is no maxExclusive.

Am I missing something or is this a bug? If the latter, is there likely to be a fix anytime soon?


Nov 12 '05 #2
My experience is that this is an old known bug. It is really disappointed
that it is not fixed in sp1.

"tenfingers" wrote:
I get the following error when I run xsd.exe on my xsd file: "It is an error
if maxExclusive is among the members of {facets} of {base typ
e definition} and {value} is greater than or equal to the {value} of the
parent
maxExclusive."

Looking at the line indicated in the error message, I find the beginning of
this derived type:

DERIVED TYPE:
<xs:simpleType>
<xs:restriction base="globLib:PercentageDecimalDataType">
<xs:maxInclusive value="6.20" />
</xs:restriction>

BASE TYPE:
<xs:simpleType name="PercentageDecimalDataType">
<xs:restriction base="xs:decimal">
<xs:minInclusive value="0.00" />
<xs:maxInclusive value="100.00" />
<xs:totalDigits value="5" />
<xs:fractionDigits value="2" />
</xs:restriction>
</xs:simpleType>

There is no maxExclusive.

Am I missing something or is this a bug? If the latter, is there likely to
be a fix anytime soon?

Nov 12 '05 #3

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

Similar topics

117
by: Peter Olcott | last post by:
www.halting-problem.com
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
2
by: Mike Collins | last post by:
I cannot get the correct drop down list value from a drop down I have on my web form. I get the initial value that was loaded in the list. It was asked by someone else what the autopostback was...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
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...

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.