throw new SchemaException(
"It is an error for both maxInclusive and maxExclusive "
+ "to be specified in the same derivation step "
+ "of a datatype definition.");
} else if (otherName.equals(Facet.MIN_EXCLUSIVE)
&& other.toBigDecimal().compareTo(this.toBigDecimal()) > 0) {
// Schema Component Constraint: minExclusive <= maxExclusive
throw new SchemaException(
"It is an error for the value specified "
+ "for minExclusive to be greater than the value "
+ "specified for maxExclusive for the same datatype.");