@Override
  public void skippedEntity(final String name) throws SAXException {

    // We don't handle parameter entity references.
    if (name.startsWith("%")) {
      return;
    }

    flushCharacters();

    final EntityRef er = currentLocator == null ? factory.entityRef(name)
                                                : factory.entityRef(currentLocator.getLineNumber(),
                                                                    currentLocator.getColumnNumber(), name);

    factory.addContent(getCurrentElement(), er);
  }
@Override
  public void skippedEntity(final String name)