diff --git a/schemas/iso19139/src/main/plugin/iso19139/process/thumbnail-add.xsl b/schemas/iso19139/src/main/plugin/iso19139/process/thumbnail-add.xsl
index 16b975a837c..4c173556039 100644
--- a/schemas/iso19139/src/main/plugin/iso19139/process/thumbnail-add.xsl
+++ b/schemas/iso19139/src/main/plugin/iso19139/process/thumbnail-add.xsl
@@ -27,7 +27,9 @@
xmlns:srv="http://www.isotc211.org/2005/srv"
xmlns:gco="http://www.isotc211.org/2005/gco"
xmlns:geonet="http://www.fao.org/geonetwork"
- exclude-result-prefixes="#all"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:digestUtils="java:org.apache.commons.codec.digest.DigestUtils"
+ exclude-result-prefixes="#all"
version="2.0">
-
-
-
+
+
+
+
+
+
+
+
+
+
+
@@ -56,9 +69,7 @@
-
-
-
+
@@ -83,12 +94,19 @@
-
-
+
+
+
+
diff --git a/schemas/iso19139/src/main/plugin/iso19139/process/thumbnail-remove.xsl b/schemas/iso19139/src/main/plugin/iso19139/process/thumbnail-remove.xsl
index a856ed23dd1..de77616984c 100644
--- a/schemas/iso19139/src/main/plugin/iso19139/process/thumbnail-remove.xsl
+++ b/schemas/iso19139/src/main/plugin/iso19139/process/thumbnail-remove.xsl
@@ -25,22 +25,48 @@
-
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+