[Po4a-devel] Use of uninitialized value in pattern match ?

Dongsheng Song dongsheng.song at gmail.com
Wed Mar 4 09:35:29 UTC 2009


2009/3/4 Nicolas François <nicolas.francois at centraliens.net>:
>> > What would also happen is that sub-tags of <programlisting> are translated.
>> >
>> > for example
>> >        <programlisting>
>> >                foo
>> >                <p>bar</p>
>> >        </programlisting>
>> >
>> > I would expect foo not to be translated, but bar will be in the PO file.
>> > Adding <programlisting><p> should fix it (should only, because I'm not
>> > sure I tested it;)
>> >
>>
>> What about treat them(e.g. 'programlisting', 'screen', 'userinput',
>> 'computeroutput')
>> as final tag like xml2po ?
>
> What do you mean with "final" tag?
>

Treat everything in these tags as sealed text, like CDATA.

---
Dongsheng Song



More information about the Po4a-devel mailing list