From 687c5907c8fbdeba8bf608e270237d71b06de169 Mon Sep 17 00:00:00 2001 From: David Cramer Date: Mon, 15 Sep 2008 19:17:18 +0000 Subject: [PATCH] Added a check to confirm that a footnoteref's linkend points to a footnote. Stylesheets stop processing if not and provide a useful error message. --- xsl/fo/footnote.xsl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/xsl/fo/footnote.xsl b/xsl/fo/footnote.xsl index ff4beb09e..42768faa4 100644 --- a/xsl/fo/footnote.xsl +++ b/xsl/fo/footnote.xsl @@ -59,6 +59,16 @@ + + + +ERROR: A footnoteref element has a linkend that points to an element that is not a footnote. +Typically this happens when an id attribute is accidentally applied to the child of a footnote element. +target element: +linkend/id: + + + -- 2.40.0