 |
 |
 |
Section 4.3.8.4 of Schema Part 2 says:
Schema Component Constraint: maxInclusive and maxExclusive
"It is an .error. for both .maxInclusive. and .maxExclusive. to be specified
in the same derivation step of a datatype definition."
I can see how to apply this as a constraint on schema documents, but I can't
see how to apply it on schema components. In the schema component model for
a simple type definition (4.1.1), "The value of {facets} consists of the set
of .facet.s specified directly in the datatype definition unioned with the
possibly empty set of {facets} of {base type definition}."
So if a simple type component has both a maxInclusive and a maxExclusive
facet, how am I to determine, by looking at the schema component, whether
these were "specified in the same derivation step"? This seems to require
information that isn't present in the schema component. (I can approximate
by testing whether the facet is present in one type and absent from its base
type, but that doesn't seem to quite reflect the intention.)
See test Microsoft/DataTypes/
<test group="test111092_1657" name="test111092_1657"/>
which has maxInclusive on a base type, and maxExclusive on the derived type,
and considers this valid.
Michael Kay
http://www.saxonica.com/
From mike@s... Sat Dec 09 16:18:33 2006
Received: from a
|
 | 

|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |