if (epack == null)
{
return;
}
EPUBVersion version = epack.getVersion();
outWriter.println(String.format(Messages.get("validating_against_epub_version"), version));
if (version != null && version.equals(EPUBVersion.VERSION_3))
{
factory.newInstance(report, ValidationType.RENDITION, epack).validate();
factory.newInstance(report, ValidationType.CFI, epack).validate();
factory.newInstance(report, ValidationType.METADATA_V3, epack).validate();
factory.newInstance(report, ValidationType.NAV, epack).validate();