Hi Denis,

Thanks for your quick answer, and sorry for my late one

Le 10/10/2013 04:10, D. Barbier a écrit :
> On 2013/10/10 David Prévot wrote:

>> It seems like, with the new Perl version, the order of items inside a
>> tag is not respected anymore
[…]
> This is strange, never heard of this problem before.  Did you try to
> run po4a tests?
>   ./Build test

It works, but there is no debiandoc test at all. Please find attached a
minimal test case that could make it into t/data-20:

  po4a-gettextize -f sgml -o force -m debiandoc.sgml -p debiandoc.po

It currently gives random results.

Regards


# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2013-10-19 11:32-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <l...@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#. type: <p></p>
#: data-20/debiandoc.sgml:8
msgid ""
"3 times the same item: <url id=\"http://www.debian.org/support\"; "
"name=\"IRC\"> <url id=\"http://www.debian.org/support\"; name=\"IRC\"> <url "
"id=\"http://www.debian.org/support\"; name=\"IRC\">"
msgstr ""
<!doctype debiandoc public "-//DebianDoc//DTD DebianDoc//EN">
<debiandoc>
<book>
   <p>
     3 times the same item:
     <url id="http://www.debian.org/support"; name="IRC">
     <url id="http://www.debian.org/support"; name="IRC">
     <url id="http://www.debian.org/support"; name="IRC">
   </p>
</book>
</debiandoc>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to