Loading src/main/java/org/gesis/dda/filter/impl/Wzb2SsoarBundleFilter.java +1 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ public class Wzb2SsoarBundleFilter implements BundleFilter { int yearIssuedValue = Integer.parseInt(yearIssuedValueString); if ( yearIssuedValue >= 2016 ) { LOG.info("'{}' is newer than 2016", yearIssuedValueString); result = true; } else { Loading src/main/java/org/gesis/dda/publishing/domain/impl/XsltTransformerOaiPmhBundlesStreamSource.java +2 −2 Original line number Diff line number Diff line Loading @@ -258,10 +258,10 @@ public class XsltTransformerOaiPmhBundlesStreamSource implements BundlesStreamSo if (null != errorCode) { if ("filteraway".equals(errorCode)) { LOG.info("1- filtering away oaiPmhIdentifier={}", oaiPmhIdentifier); LOG.info("ErrorCode={}", errorCode); LOG.info("Error detail: {}", e.getCause().getLocalizedMessage()); resultBundle = null; // test if this break is really necessary, taken out. STJ // break; break; } else { LOG.warn("2- fatalError. Filtering away oaiPmhIdentifier=" + oaiPmhIdentifier, e); } Loading src/test/resources/xslt/econstor-oai_dc-2-xmlbundle.xslt +121 −130 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
src/main/java/org/gesis/dda/filter/impl/Wzb2SsoarBundleFilter.java +1 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ public class Wzb2SsoarBundleFilter implements BundleFilter { int yearIssuedValue = Integer.parseInt(yearIssuedValueString); if ( yearIssuedValue >= 2016 ) { LOG.info("'{}' is newer than 2016", yearIssuedValueString); result = true; } else { Loading
src/main/java/org/gesis/dda/publishing/domain/impl/XsltTransformerOaiPmhBundlesStreamSource.java +2 −2 Original line number Diff line number Diff line Loading @@ -258,10 +258,10 @@ public class XsltTransformerOaiPmhBundlesStreamSource implements BundlesStreamSo if (null != errorCode) { if ("filteraway".equals(errorCode)) { LOG.info("1- filtering away oaiPmhIdentifier={}", oaiPmhIdentifier); LOG.info("ErrorCode={}", errorCode); LOG.info("Error detail: {}", e.getCause().getLocalizedMessage()); resultBundle = null; // test if this break is really necessary, taken out. STJ // break; break; } else { LOG.warn("2- fatalError. Filtering away oaiPmhIdentifier=" + oaiPmhIdentifier, e); } Loading
src/test/resources/xslt/econstor-oai_dc-2-xmlbundle.xslt +121 −130 File changed.Preview size limit exceeded, changes collapsed. Show changes