private void processSimpleTypeDefinitions(XSSchemaSet set) throws SchemaException { Iterator<XSSimpleType> iterator = set.iterateSimpleTypes(); while (iterator.hasNext()) { XSSimpleType simpleType = iterator.next(); if (simpleType.getTargetNamespace().equals(schema.getNamespace())) { LOGGER.trace("### processing STD {} into {} [{}]", simpleType, schema, shortDescription); processSimpleTypeDefinition(simpleType); } } }