if (typeInfo.fDerivedBy==XSConstants.DERIVATION_RESTRICTION) {
// This is an RESTRICTION
if (typeInfo.fParticle==null && (!(baseContent==null ||
baseContent.emptiable()))) {
throw new ComplexTypeRecoverableError("derivation-ok-restriction.5.2",
new Object[]{typeName}, complexContent);
}
if (typeInfo.fParticle!=null && baseContent==null) {
//REVISIT - need better error msg