Package: po4a
Version: 0.32-1
Severity: normal
Tags: patch

For a DocBook XML input, such as

<para><ulink
  url="http://www.debian.org/";>Universal Operating
  System</ulink></para>
<para>Or not?</para>

no msgid for the first paragraph is generated by
po4a-gettextize, only for the second one. Command line was:

$ po4a-gettextize -f docbook -m test.dbk -p foo.po

If there is any additional text inside of the para, but outside
of the ulink, everything works fine. Fix is attached.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages po4a depends on:
ii  gettext                   0.17-2         GNU Internationalization utilities
ii  libsgmls-perl             1.03ii-32      Perl modules for processing SGML p
ii  perl                      5.8.8-12       Larry Wall's Practical Extraction 
ii  perl-modules              5.8.8-12       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-2     Using libc functions for internati
ii  libterm-readkey-perl          2.30-3     A perl module for simple terminal 
ii  libtext-wrapi18n-perl         0.06-5     internationalized substitute of Te

-- no debconf information
--- Docbook.pm.orig	2008-01-31 10:53:25.000000000 +0100
+++ Docbook.pm	2008-02-07 15:41:55.000000000 +0100
@@ -139,6 +139,7 @@
 		<term>
 		<title>
 		<titleabbrev>
+		<ulink>
 		<userinput>) {
 		if (not defined $self->{nodefault}{$tag}) {
 			$additional_tags .= " $tag";

Reply via email to