diff --git a/epub/epub-common.xsl b/epub/epub-common.xsl
index ae9ac0e0d..afb378ba1 100644
--- a/epub/epub-common.xsl
+++ b/epub/epub-common.xsl
@@ -538,6 +538,9 @@ of this software, even if advised of the possibility of such damage.
+
+ The target '' is not defined in this document
+
@@ -558,6 +561,9 @@ of this software, even if advised of the possibility of such damage.
+
+ Unable to determine source file name of ''"
+
diff --git a/tools/makegraphicsanttask.xsl b/tools/makegraphicsanttask.xsl
index 004cb1917..eb757748f 100644
--- a/tools/makegraphicsanttask.xsl
+++ b/tools/makegraphicsanttask.xsl
@@ -95,6 +95,9 @@ of this software, even if advised of the possibility of such damage.
+
+ The target '' is not defined in this document
+
@@ -115,6 +118,9 @@ of this software, even if advised of the possibility of such damage.
+
+ Unable to determine source file name of ''"
+