From 7607e3b2e30225ebf76669c550cc92971b0e9e6d Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 11 Aug 2005 05:29:15 +0000 Subject: [PATCH] Set default value of annotation.support param to 0 (off). Also, wrapped contents of the apply-annotations template in a "if" statement, so that those contents get evaluated only if annotation.support is non-zero. The reason for these changes was a report from Doug du Boulay (on the docbook-apps list) that processing of the apply-annotations template was consuming 75% of the total processing time for a 2.5Mb file. Anatoly Techtonik followed with a comment that with 1.69.0, "Compiling took about full working day on 12Mb file while earlier it was about 2-4 hours". --- xsl/html/annotations.xsl | 2 ++ xsl/params/annotation.support.xml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/xsl/html/annotations.xsl b/xsl/html/annotations.xsl index cae9a1d82..69f35e382 100644 --- a/xsl/html/annotations.xsl +++ b/xsl/html/annotations.xsl @@ -20,6 +20,7 @@ + @@ -47,6 +48,7 @@ + diff --git a/xsl/params/annotation.support.xml b/xsl/params/annotation.support.xml index cbc27a8e3..cd6e626f5 100644 --- a/xsl/params/annotation.support.xml +++ b/xsl/params/annotation.support.xml @@ -10,7 +10,7 @@ - + -- 2.40.0