Package: docbook-xsl
Version: 1.76.1+dfsg-1
Severity: normal

Dear Maintainer,

This is a distillation of a problem I noticed in the valgrind(1)
manpage.

Given the following input:

<?xml version="1.0"?> <!-- -*- sgml -*- -->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";>

<refentry>
  <refnamediv>
    <refname>bad-xpointer</refname>
    <refpurpose>
      demonstrate handling of unresolvable
      <sgmltag class="attribute">xpointer</sgmltag> values
    </refpurpose>
  </refnamediv>

  <xi:include
      xpointer="bogus-id"
      xmlns:xi="http://www.w3.org/2001/XInclude"; />

  <refsection>
    <title>Example section</title>
    <para>Example paragraph.</para>
  </refsection>
</refentry>
the command "xsltproc --xinclude
/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl
bad-xpointer.docbook" [1] produces the following output file:

Attachment: bad-xpointer.1
Description: testcase output

which is rendered more-or-less like this:

,----
| NAME
|       bad-xpointer - demonstrate handling of unresolvable xpointer
|       values <xi:include></xi:include>.SH "EXAMPLE SECTION"
| 
|       Example paragraph.
`----


[1]: non-Debian installations might require the command to be written as
"xsltproc --xinclude
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
bad-xpointer.docbook"


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages docbook-xsl depends on:
ii  xml-core  0.13+nmu2

Versions of packages docbook-xsl recommends:
ii  docbook-xml  4.5-7.1

Versions of packages docbook-xsl suggests:
pn  dbtoepub                                                      <none>
pn  docbook-xsl-doc-html | docbook-xsl-doc-pdf | docbook-xsl-doc  <none>
ii  docbook-xsl-saxon                                             1.00.dfsg.1-5
pn  fop                                                           <none>
ii  libsaxon-java                                                 1:6.5.5-8
pn  libxalan2-java                                                <none>
pn  libxslthl-java                                                <none>
ii  xalan                                                         1.10-6

-- no debconf information

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

Reply via email to