if(contentType instanceof XSDatatypeExp ) {
// we know that the attribute value is of XSDatatypeExp
final XSDatatypeExp baseType = (XSDatatypeExp)contentType;
try {
XSTypeIncubator inc = baseType.createIncubator();
inc.addFacet("enumeration",fixed,false,reader);
contentType = inc.derive(null,null);
} catch( DatatypeException e ) {
reader.reportError( e, XMLSchemaReader.ERR_BAD_TYPE, e.getMessage() );
return Expression.nullSet;
}
} else {