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

maxExclusive error, but I dont have a maxExclusive

This is one that has been stumping me for a few days now. I have an
xml document that is based on a schema, and that schema is based on
another schema. When using XMLSpy 2004 Enterprise Edition, everything
is valid and well-formed. When I run it through my .NET in C#
validator it always throws this error -->

It is an error if maxExclusive is among the members of {facets} of
{base type definition} and {value} is greater than or equal to the
{value} of the parent maxExclusive. An error occurred at
.../CoreMain.xsd, (5909, 3).

The really weird thing is that i do not have a single maxExclusive in
any of my schemas! So I wonder how this error can occur when I do not
use the attribute of maxExclusive that is apparently throwing the
error. I do have this cought by a try catch block.

I went to line 5909 in my code and it is the beginning of an element
definition which follows:
<xs:simpleType name="DisbursementFeePaidType">
<xs:annotation>
<xs:documentation>The amount of origination
fees
subsidized</xs:documentation>
</xs:annotation>
<xs:restriction base="core:SmallCurrencyType">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="9999999999.99"/>
<xs:totalDigits value="12"/>
<xs:fractionDigits value="2"/>
</xs:restriction>
</xs:simpleType>

incase it may be thought that the error is occuring with the element
before line 5909 here it is :
<xs:simpleType name="GuaranteeFeePaidType">
<xs:annotation>
<xs:documentation>The amount of guarantee
fees
subsidized</xs:documentation>
</xs:annotation>
<xs:restriction base="core:SmallCurrencyType">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="9999999999.99"/>
<xs:totalDigits value="12"/>
<xs:fractionDigits value="2"/>
</xs:restriction>
</xs:simpleType>

And finally the SmallCurrencyType which is defined in those two
elements is:

<xs:simpleType name="SmallCurrencyType">
<xs:restriction base="xs:decimal">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="9999999999.99"/>
</xs:restriction>
</xs:simpleType>
If anyone has any ideas or questions please let me know, its to the
point I want to throw the computer out the window, if i wasn't in a
cubicle.
Nov 12 '05 #1
0 1093

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

Similar topics

2
by: Elmar Grandel | last post by:
Hello, i just updated my mysql database from 4.0.x to 4.1 because i like to have the possibility to create subqueries. My problem with the new release is the following: In my running project i...
1
by: ds | last post by:
fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h> I have an existing C-based application. I need to add encoder card support to this application....
5
by: Mike | last post by:
I am trying to use the bulk insert command but I am getting the following error: ---Begin Error Msg--- Server: Msg 4867, Level 16, State 1, Line 1 Bulk insert data conversion error (overflow)...
8
by: Steve | last post by:
I have several pairs of synchronized subforms in an application. I have a Delete button for each pair that uses the following code or similar to delete a record in the second subform: ...
5
by: jasenpeters | last post by:
Dear Colleagues, MS-Access 2000 After compacting and repairing a database... "AOIndex is not an index in this table." Error 3800 Shows up when attempting to open or manipulate the database...
38
by: Red Dragon | last post by:
I am self study C student. I got stuck in the program below on quadratic equation and will be most grateful if someone could help me to unravel the mystery. Why does the computer refuse to execute...
3
by: Girish | last post by:
so I was looking at an example on codeproject.com that talked about how to globalize your error handling. I was extremely confused by some code. Id appreciate if someone could help me out by...
4
by: james margey | last post by:
Hi to all, I have spent 3 days at this error and i have two days to go for a deadline, and i am about to go off my nut, the reason being: Microsoft dont seem to be able to provide a solution, I...
0
by: Lysander | last post by:
Thought I would give something back with a few articles. This article is a bit of code to add error handling. When I have time, I want to write articles on multilingual databases, and Access...
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: 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:
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: 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?
0
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,...
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...
0
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,...

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.