From 5f3513b68ba5419e8b43276a5eb9f30fa70db75d Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 29 Oct 2005 09:12:59 +0000 Subject: [PATCH] Changed check for *info child in id.warning template from using contains() to using ends-with() -- because contains() will match informal* elements (informaltable, etc) too -- not just *info elements. Also added check to make sure that *info element matched actually has a title (because some *info elements may not -- title is not a required child of *info elements). And FWIW, I don't think it is too aggressive to have the default behavior be to have the stylesheets emit notification messages about ID-less titled objects. If it were the default to have it not emit those, most users would probably never take the time to turn it on, including the users who it is most meant to benefit (those who don't yet know why they ought to be putting IDs on their titled objects). --- xsl/html/html.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xsl/html/html.xsl b/xsl/html/html.xsl index 0e1f54253..5c2d2fe4d 100644 --- a/xsl/html/html.xsl +++ b/xsl/html/html.xsl @@ -129,7 +129,7 @@ - + -- 2.50.0