//for all datatypes other than string, we don't pass WHITESPACE Facet
//its value is always 'collapse' and cannot be reset by user
if ( value != null && !(base instanceof StringDatatypeValidator) ) {
if ( !value.equals(SchemaSymbols.ATT_COLLAPSE) )
throw new InvalidDatatypeFacetException( "whiteSpace value '" + value +
"' for this type must be 'collapse'.");
facets.remove(SchemaSymbols.ELT_WHITESPACE);
}
Class validatorDef = base.getClass();