[debiandoc-sgml-pkgs] Bug#431170: debiandoc2xml replaces entities with their value
W. Borgert
debacle at debian.org
Sat Jun 30 11:15:12 UTC 2007
Package: debiandoc-sgml
Version: 1.1.101
Severity: normal
>From the following SGML:
<!DOCTYPE debiandoc PUBLIC "-//DebianDoc//DTD DebianDoc//EN" [
<!ENTITY example "text to be replaced">
]>
<debiandoc>
<book>
<title>Title
<author>I
<chapt>Chapter
<p>
Here goes some &example;, and more &example;.
</book>
</debiandoc>
debiandoc2xml generates the following DocBook:
<chapter id="ch1"><title>Chapter</title>
<para>
Here goes some text to be replaced, and more text to be replaced.
</para>
</chapter>
The problem is, that further maintainance of the DocBook XML
file becomes very hard without the entities from the original
debiandoc source.
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.21-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages debiandoc-sgml depends on:
ii libhtml-parser-perl 3.55-1 A collection of modules that parse
ii libroman-perl 1.1-21 Perl module for converting between
ii libsgmls-perl 1.03ii-31 Perl modules for processing SGML p
ii libtext-format-perl 0.52-21 Perl module for formatting (text)
ii liburi-perl 1.35-2 Manipulates and accesses URI strin
ii perl 5.8.8-7 Larry Wall's Practical Extraction
ii perl-modules [libi18n-lan 5.8.8-7 Core Perl modules
ii sgml-base 1.26 SGML infrastructure and SGML catal
ii sgml-data 2.0.3 common SGML and XML data
ii sgmlspl 1.03ii-31 SGMLS-based example Perl script fo
ii sp 1.3.4-1.2.1-47 James Clark's SGML parsing tools
Versions of packages debiandoc-sgml recommends:
ii gs 8.54.dfsg.1-5 Transitional package
ii gs-gpl [gs] 8.54.dfsg.1-5 The GPL Ghostscript PostScript int
pn latex-cjk-all <none> (no description available)
ii libpaper1 [libpaperg] 1.1.21 Library for handling paper charact
ii tetex-bin 2007-10 TeX Live: teTeX transitional packa
ii tetex-extra 2007-10 TeX Live: teTeX transitional packa
ii texinfo 4.8.dfsg.1-6 Documentation system for on-line i
-- no debconf information
More information about the Debiandoc-sgml-pkgs
mailing list