import org.xmldb.api.base.ErrorCodes;
<BUG>import org.xmldb.api.base.Resource;
import org.xmldb.api.base.ResourceSet;</BUG>
import org.xmldb.api.base.XMLDBException;
import org.xmldb.api.modules.CollectionManagementService;
<BUG>import org.xmldb.api.modules.XMLResource;
public abstract class GenericSchemaService implements SchemaService {</BUG>
private class ValidationErrorHandler implements ErrorHandler {
private ArrayList warnings = new ArrayList();
private ArrayList errors = new ArrayList();

import org.xmldb.api.base.ErrorCodes;
import org.xmldb.api.base.Resource;
import org.xmldb.api.base.ResourceIterator;
import org.xmldb.api.base.ResourceSet;
import org.xmldb.api.base.XMLDBException;
import org.xmldb.api.modules.CollectionManagementService;
import org.xmldb.api.modules.XMLResource;
import org.xmldb.api.modules.XPathQueryService;
import org.xmldb.api.modules.XUpdateQueryService;
public abstract class GenericSchemaService implements SchemaService {
private class ValidationErrorHandler implements ErrorHandler {
private ArrayList warnings = new ArrayList();
private ArrayList errors = new ArrayList();
