Package: po4a
Version: 0.34-2
Severity: normal

Let's say I create a docbook file that starts like this:
$ head -4 en/release-notes.dbk 
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE book SYSTEM "/usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd" [
  <!ENTITY % shareddata   SYSTEM "../release-notes.ent" > %shareddata;
]>

Using po4a-translate (and possibly other po4a-* tools) you get this
error:

po4a-translate --format docbook --keep 0 --master en/release-notes.dbk
--po zh_TW/release-notes.po --localized zh_TW/release-notes.dbk
en/release-notes.dbk:2: (po4a::xml)
               Bad document type. 'docbook xml' expected.

Cheers,

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.28-1-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages po4a depends on:
ii  gettext                   0.17-6         GNU Internationalization utilities
ii  libsgmls-perl             1.03ii-32      Perl modules for processing SGML p
ii  perl                      5.10.0-19      Larry Wall's Practical Extraction 
ii  perl-modules              5.10.0-19      Core Perl modules
ii  sp                        1.3.4-1.2.1-47 James Clark's SGML parsing tools

Versions of packages po4a recommends:
ii  liblocale-gettext-perl        1.05-4     Using libc functions for internati
ii  libterm-readkey-perl          2.30-4     A perl module for simple terminal 
ii  libtext-wrapi18n-perl         0.06-6     internationalized substitute of Te

po4a suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to