[xml/sgml-pkgs] Bug#299457: xmlto: improper parsing of replaceable groups

Hendrik Sattler Hendrik Sattler <debian@hendrik-sattler.de>, 299457@bugs.debian.org
Mon, 14 Mar 2005 10:26:37 +0100


Package: xmlto
Version: 0.0.18-5
Severity: normal


Hi,

upon creating a docbook file for a manpage (refentry), xmlto fails to
properly translate the following situation within a cmdsynopsis:
     <arg>
        <option>--number</option>
        <group>
          <replaceable>number</replaceable>
          <replaceable>name</replaceable>
        </group>
      </arg>
I think, the intention is clear: it should be translated to:
  --number [number|name]
and docbook2x does this. xmlto creates the following:
  --number [numbername]
It just "forgets" the '|'.

A groups with arg is translated properly.

This fails with both, target man and target html-nochunks.

If this bug should be for another package than xmlto, please reassign it
to the proper one, thanks.

HS

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages xmlto depends on:
ii  debianutils                 2.8.4        Miscellaneous utilities specific t
ii  docbook-xml                 4.3-1.1      standard XML documentation system,
ii  docbook-xsl                 1.66.1-1     stylesheets for processing DocBook
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libpaper-utils              1.1.14-3     Library for handling paper charact
ii  libxml2-utils               2.6.16-3     XML utilities
ii  sgml-base                   1.26         SGML infrastructure and SGML catal
ii  xsltproc                    1.1.12-5     XSLT command line processor

-- no debconf information