SubstitutionGroupComparator comparator) throws Exception {
boolean ret = conflic(type1, local1, uri1, type2, local2, uri2, comparator);
if (ret && comparator != null) {
StringPool stringPool = comparator.getStringPool();
XMLErrorReporter err = comparator.getErrorReporter();
err.reportError(err.getLocator(),
SchemaMessageProvider.SCHEMA_DOMAIN,
SchemaMessageProvider.UniqueParticleAttribution,
SchemaMessageProvider.MSG_NONE,
new Object[]{eleString(type1, local1, uri1, stringPool),
eleString(type2, local2, uri2, stringPool)},