all groups > dotnet xml > november 2004 >
You're in the

dotnet xml

group:

xsd.exe problem


xsd.exe problem tenfingers
11/4/2004 4:50:01 PM
dotnet xml:
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
Re: xsd.exe problem Christoph Schittko [MVP]
11/9/2004 9:51:48 AM
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/

[quoted text, click to view]
RE: xsd.exe problem man-in-nature
11/12/2004 8:19:02 AM
My experience is that this is an old known bug. It is really disappointed
that it is not fixed in sp1.

[quoted text, click to view]
AddThis Social Bookmark Button