;; $Id: patch-db2latex-duplicate-template-bug,v 1.2 2007-01-12 22:24:20 sra Exp $
;;
;; This is a patch to work around a known bug in db2latex. Apparently
;; xsltproc's error checking got a lot better since the authors of
;; db2latex last tested this, so a clear language violation that
;; xsltproc used to ignore now prevents xsltproc from working with
;; db2latex.
;;
;; On FreeBSD you can simply drop this patch into the directory
;; /usr/ports/textproc/db2latex/files/ and the ports system should
;; take it from there. I've sent this patch off to the port
;; maintainer but have not yet heard anything back.
;;
;; I don't really know whther this is the "right" fix, but it seems to
;; work, and I'm pretty sure that the code this patch deletes does not
;; work as it stands, so at worst the result after applying this patch
;; should be no worse than the result without this patch.
;;
;; YMMV. If this patch breaks, you get to keep both pieces.
Index: xsl/qandaset.mod.xsl
--- xsl/qandaset.mod.xsl.~1~ Sun Jan 4 08:22:27 2004
+++ xsl/qandaset.mod.xsl Fri Apr 1 22:30:20 2005
@@ -363,53 +363,4 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- question
- answer
- qandadiv
- qandaset
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-