[xml/sgml-pkgs] Bug#400314: docbook2html and docbook2pkdf do not handle upper case norwegian characters

Petter Reinholdtsen pere at hungry.com
Fri Mar 9 12:39:17 UTC 2012


Package: docbook-utils
Version: 0.6.14-1.1
File: /usr/bin/docbook2pdf
Severity: normal

I see a similar problem with the attached docbook fragment.  The lower
case Norwegian letters, æøå, work fine.  The upper case Norwegian
letters, ÆØÅ, fail to work.  This block my try to convert and translate
a moinmoin wiki document via docbook to PDF  and HTML. :(

% docbook2html test.xml > /dev/null 
openjade:/home/pere/src/debiancvs/debianedusvn/src/debian-edu-doc/documentation/norwegian/test.xml:8:7:E: non SGML character number 134
openjade:/home/pere/src/debiancvs/debianedusvn/src/debian-edu-doc/documentation/norwegian/test.xml:10:7:E: non SGML character number 152
openjade:/home/pere/src/debiancvs/debianedusvn/src/debian-edu-doc/documentation/norwegian/test.xml:12:7:E: non SGML character number 133
openjade:/home/pere/src/debiancvs/debianedusvn/src/debian-edu-doc/documentation/norwegian/test.xml:14:19:E: non SGML character number 152
openjade:/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/../common/dbl10n.dsl:280:10:E: L10N ERROR: generate-toc-in-front
openjade:/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/../common/dbl10n.dsl:425:12:E: L10N ERROR: gentext-intra-label-sep
%


% docbook2pdf test.xml
Using catalogs: /etc/sgml/catalog
Using stylesheet: /usr/share/docbook-utils/docbook-utils.dsl#print
Working on: /home/pere/src/debiancvs/debianedusvn/src/debian-edu-doc/documentation/norwegian/test.xml
openjade:/home/pere/src/debiancvs/debianedusvn/src/debian-edu-doc/documentation/norwegian/test.xml:8:7:E: non SGML character number 134
openjade:/home/pere/src/debiancvs/debianedusvn/src/debian-edu-doc/documentation/norwegian/test.xml:10:7:E: non SGML character number 152
openjade:/home/pere/src/debiancvs/debianedusvn/src/debian-edu-doc/documentation/norwegian/test.xml:12:7:E: non SGML character number 133
openjade:/home/pere/src/debiancvs/debianedusvn/src/debian-edu-doc/documentation/norwegian/test.xml:14:19:E: non SGML character number 152
openjade:/usr/share/sgml/docbook/stylesheet/dsssl/modular/print/../common/dbl10n.dsl:924:10:E: L10N ERROR: gentext-page
%

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages docbook-utils depends on:
ii  docbook-dsssl          1.79-6            modular DocBook DSSSL stylesheets,
ii  jadetex                3.13-12           generator of printable output from
ii  perl                   5.10.1-17squeeze3 Larry Wall's Practical Extraction
ii  sgmlspl                1.03ii-32         SGMLS-based example Perl script fo
ii  sp                     1.3.4-1.2.1-47    James Clark's SGML parsing tools
ii  w3m                    0.5.2-9           WWW browsable pager with excellent

Versions of packages docbook-utils recommends:
ii  docbook-xml                   4.5-7      standard XML documentation system

docbook-utils suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.xml
Type: application/docbook+xml
Size: 731 bytes
Desc: Docbook XML demonstrating the problem
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20120309/3779e942/attachment.bin>


More information about the debian-xml-sgml-pkgs mailing list