GNOME Bugzilla – Bug 168571
unwanted placeholder's in generated XML file
Last modified: 2019-03-25 23:13:49 UTC
I'm currently using po2xml to maintain Mandrakelinux documentation. When phrasing the module ext2fs.xml, I've got unwanted <plcaholder-28/> in XML file generated from PO. The same tags within source XML is: <entry>Sample<footnote><para>Something</para></footnote></entry> While xml2po convert this into: msgid "Something" msgstr "ABC" msgid "Sample<footnote><placeholder-28/></footnote>" msgstr "DEF<footnote><placeholder-28/></footnote>" But the generated XML I've got is: <entry>ABC<footnote><placeholder-28/></footnote></entry> If you want, I can attache the file. I'm not sure whether it is a bug with gnome-doc-util or the source XML itself.
This is xml2po bug-I'm working on a fix.
Fixed in CVS. Please test and reopen if there're any problems (it required rewriting some parts of code, so also test if behaviour hasn't changed anywhere else).
I'm always use xml2po cvs(1.19). It seems that <para>s inside <footnote> are no longer singled out. So, I've reopened this bug. If it is a designed feature, close this as INVALID again. Thanx.
Created attachment 38403 [details] Diff on different behaviour of xml2po The <quote> tag is singled out, but it is of no use.
It's a different bug which will have to wait for release notes translations to be completed.
Also note that this bug has probably broken your old translations, so I suggest you revert your xml2po back before I fix this.
Ok, this is finally completely fixed in CVS (I hope). I'm writing regression tests at the same time, so Funda, if you have big collections of documents with translations, I'd be glad to have your .xml, .pot, .po and output .xml files.