After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 168571 - unwanted placeholder's in generated XML file
unwanted placeholder's in generated XML file
Status: RESOLVED FIXED
Product: gnome-doc-utils
Classification: Deprecated
Component: xml2po
CVS HEAD
Other Linux
: Normal normal
: ---
Assigned To: Danilo Segan
Danilo Segan
Depends on:
Blocks:
 
 
Reported: 2005-02-26 09:36 UTC by Funda Wang
Modified: 2019-03-25 23:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Diff on different behaviour of xml2po (1.60 KB, text/plain)
2005-03-08 09:56 UTC, Funda Wang
Details

Description Funda Wang 2005-02-26 09:36:22 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.
Comment 1 Danilo Segan 2005-02-27 22:14:15 UTC
This is xml2po bug-I'm working on a fix.
Comment 2 Danilo Segan 2005-03-01 16:12:25 UTC
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).
Comment 3 Funda Wang 2005-03-08 09:45:02 UTC
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.
Comment 4 Funda Wang 2005-03-08 09:56:18 UTC
Created attachment 38403 [details]
Diff on different behaviour of xml2po

The <quote> tag is singled out, but it is of no use.
Comment 5 Danilo Segan 2005-03-08 10:57:59 UTC
It's a different bug which will have to wait for release notes translations to
be completed.
Comment 6 Danilo Segan 2005-03-08 11:05:15 UTC
Also note that this bug has probably broken your old translations, so I suggest
you revert your xml2po back before I fix this.
Comment 7 Danilo Segan 2005-03-27 16:03:16 UTC
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.