@Override
  protected void processElements(XmlSchemaTagsProcessor processor, Map<String, XmlElementDescriptor> map) {
    String typeName = getTypeName();
    if (typeName != null) {
      TypeDescriptor descriptor = myOriginalNsDescriptor.getTypeDescriptor(typeName, myOriginalNsDescriptor.getTag());
      if (descriptor instanceof ComplexTypeDescriptor) {
        ((ComplexTypeDescriptor)descriptor).processElements(super.createProcessor(map, myOriginalNsDescriptor), map);
      }
    }
    super.processElements(createProcessor(map, myDocumentDescriptor), map);
  }
@Override
  protected void processElements(XmlSchemaTagsProcessor processor, Map<String, XmlElementDescriptor> map)