[xml/sgml-pkgs] Bug#245343: marked as done (docbook2x: biblio.xsl generates wrong <I> element)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 25 Apr 2004 06:18:14 -0700


Your message dated Sun, 25 Apr 2004 09:02:02 -0400
with message-id <E1BHjGk-0006Xe-00@newraff.debian.org>
and subject line Bug#245343: fixed in docbook2x 0.8.2-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Apr 2004 17:15:34 +0000
>From rafael@mpipf-muenchen.mpg.de Thu Apr 22 10:15:34 2004
Return-path: <rafael@mpipf-muenchen.mpg.de>
Received: from kom.mpisoc.mpg.de (kom.mpipf-muenchen.mpg.de) [192.129.1.23] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1BGhnS-0002qM-00; Thu, 22 Apr 2004 10:15:34 -0700
Received: from 10.1.1.2 by kom.mpipf-muenchen.mpg.de (InterScan E-Mail VirusWall NT); Thu, 22 Apr 2004 19:19:11 +0100 (GMT Daylight Time)
Received: from [10.80.1.160] (helo=laboiss0)
	by amalie.intra.mpipf-muenchen.mpg.de with esmtp (Exim 4.05)
	id 1BGhr0-0007hN-00; Thu, 22 Apr 2004 19:19:14 +0200
Received: from rafael by laboiss0 with local (Exim 3.36 #1 (Debian))
	id 1BGhmr-0003Yb-00; Thu, 22 Apr 2004 19:14:57 +0200
Date: Thu, 22 Apr 2004 19:14:47 +0200
From: Rafael Laboissiere <rafael@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: docbook2x: biblio.xsl generates wrong <I> element
Message-ID: <20040422171447.GA13640@laboiss0>
Reply-To: Rafael Laboissiere <rafael@debian.org>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="ikeVEW9yuYc//A+q"
Content-Disposition: inline
X-Reportbug-Version: 2.37
Organization: Debian GNU/Linux
User-Agent: Mutt/1.5.5.1+cvs20040105i
Sender: Rafael Laboissiere <rafael@mpipf-muenchen.mpg.de>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.8 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	HTML_30_40,HTML_MESSAGE autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1


--ikeVEW9yuYc//A+q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: docbook2x
Version: 0.8.2-1
Severity: normal

This is an upstream problem.  When db2x_xsltproc uses xslt/texi/biblio.xsl,
it generates a wrong <I></I> element in the Texi-XML output file.  Later,
when processing the file with db2x_texixml, error messages like this one
happen:

    $ db2x_texixml input.txml 
    /usr/bin/db2x_texixml::3963:I: unexpected element

The trivial patch attached below fixes the problem.    

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux laboiss0 2.4.19-686 #1 Mon Nov 18 23:59:03 EST 2002 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages docbook2x depends on:
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  libxml2                     2.6.8-1      GNOME XML library
ii  libxslt1.1                  1.1.5-1      XSLT processing library - runtime 
ii  zlib1g                      1:1.2.1-3    compression library - runtime

-- no debconf information



--ikeVEW9yuYc//A+q
Content-Type: text/plain; charset=us-ascii
Content-Description: Patch element <I>
Content-Disposition: attachment; filename=d2

--- biblio.xsl-orig	2004-04-22 18:19:00.000000000 +0200
+++ biblio.xsl	2004-04-22 19:12:17.000000000 +0200
@@ -146,7 +146,7 @@
       </xsl:call-template>
     </xsl:when>
     <xsl:otherwise>
-      <I><xsl:apply-templates/></I>
+      <i><xsl:apply-templates/></i>
     </xsl:otherwise>
   </xsl:choose>
   <xsl:call-template name="gentext-dingbat"><xsl:with-param name="key" select="'bibliography.item.separator'"/></xsl:call-template>
@@ -160,7 +160,7 @@
 </xsl:template>
 
 <xsl:template match="citetitle" mode="bibliography.mode">
-    <I><xsl:apply-templates mode="bibliography.mode"/></I>
+    <i><xsl:apply-templates mode="bibliography.mode"/></i>
     <xsl:call-template name="gentext-dingbat"><xsl:with-param name="key" select="'bibliography.item.separator'"/></xsl:call-template>
 </xsl:template>
 
@@ -476,7 +476,7 @@
       </xsl:call-template>
     </xsl:when>
     <xsl:otherwise>
-      <I><xsl:apply-templates/></I>
+      <i><xsl:apply-templates/></i>
     </xsl:otherwise>
   </xsl:choose>
 </xsl:template>

--ikeVEW9yuYc//A+q--

---------------------------------------
Received: (at 245343-close) by bugs.debian.org; 25 Apr 2004 13:08:09 +0000
>From katie@ftp-master.debian.org Sun Apr 25 06:08:09 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BHjMf-0003Ff-00; Sun, 25 Apr 2004 06:08:09 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BHjGk-0006Xe-00; Sun, 25 Apr 2004 09:02:02 -0400
From: Rafael Laboissiere <rafael@debian.org>
To: 245343-close@bugs.debian.org
X-Katie: $Revision: 1.49 $
Subject: Bug#245343: fixed in docbook2x 0.8.2-2
Message-Id: <E1BHjGk-0006Xe-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 25 Apr 2004 09:02:02 -0400
Delivered-To: 245343-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.5 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	HTML_MESSAGE autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 5

Source: docbook2x
Source-Version: 0.8.2-2

We believe that the bug you reported is fixed in the latest version of
docbook2x, which is due to be installed in the Debian FTP archive:

docbook2x_0.8.2-2.diff.gz
  to pool/main/d/docbook2x/docbook2x_0.8.2-2.diff.gz
docbook2x_0.8.2-2.dsc
  to pool/main/d/docbook2x/docbook2x_0.8.2-2.dsc
docbook2x_0.8.2-2_i386.deb
  to pool/main/d/docbook2x/docbook2x_0.8.2-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 245343@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rafael Laboissiere <rafael@debian.org> (supplier of updated docbook2x package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 25 Apr 2004 14:45:14 +0200
Source: docbook2x
Binary: docbook2x
Architecture: source i386
Version: 0.8.2-2
Distribution: unstable
Urgency: low
Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>
Changed-By: Rafael Laboissiere <rafael@debian.org>
Description: 
 docbook2x  - Converts DocBook/XML documents into man pages and TeXinfo
Closes: 245285 245291 245305 245340 245343 245447
Changes: 
 docbook2x (0.8.2-2) unstable; urgency=low
 .
   * debian/patches/50-gentext-dingbat-template.patch: Patch for
     xslt/common/gentext.xsl, defining the lacking gentext-dingbat template
     (closes: #245340).
   * debian/patches/50-i-element.patch: Patch for xslt/texi/biblio.xsl,
     fixing wrong <I> elements (closes: #245343).
   * debian/patches/50-xml-fixes.patch: Patch for fixing XML problems in
     the upstream files doc/docbook2X.xml and doc/faq.xml.
   * debian/rules:
     - Include cdbs' simple-patchsys.mk for coping with the patches above.
     - Removed hard-coded Perl version from some installation directories
       names.  There is now a PERL_INSTALLPRIVLIB variable, properly
       initialized through the Perl Config module (closes: #245291).
     - Install Perl module in standard place, complying with the Debian
       Perl Policy (closes: #245305).
     - Run make clean in perl/XML/Handler directory to avoid inclusion of
       extraneous patches in the Debian diff.gz file.  Remove also
       Makefile.old.
   * debian/control:
     - Added versioned build-dependency on libxslt1-dev.  Also, changed
       Build-Depends-Indep to Build-Depends, since the package is
       Architecture: any (closes: #245285).
     - Cite upstream URL homepage in debian/control in accordance with the
       Debian Best Packaging Practices manual (closes: #245447)
     - Added Uploaders field with Ardo, Wolfgang, and Rafael.
Files: 
 3aeb60b616a529271563b84fc2c4abe0 772 text optional docbook2x_0.8.2-2.dsc
 6f0b10e27f39091f83321b63b667495c 33181 text optional docbook2x_0.8.2-2.diff.gz
 1c8f49d305b7360ac0b0743734c201f3 183364 text optional docbook2x_0.8.2-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAi7PEk3oga0pdcv4RArf0AJ0T0D+vF4mJQbGUxAEHqgmb/OTuTwCfQWwX
NeF/fiyWK+AwWf+z5XLnGRk=
=rxOw
-----END PGP SIGNATURE-----