From: Michael Smith Date: Thu, 11 Aug 2005 05:29:15 +0000 (+0000) Subject: Set default value of annotation.support param to 0 (off). Also, X-Git-Tag: release/1.79.1~6^2~3264 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7607e3b2e30225ebf76669c550cc92971b0e9e6d;p=docbook-dsssl 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". --- 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 @@ - +