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 342702 - intltool-merge does not replace entities in .xml files
intltool-merge does not replace entities in .xml files
Status: RESOLVED NOTABUG
Product: intltool
Classification: Deprecated
Component: general
0.35.x
Other Linux
: Normal normal
: ---
Assigned To: intltool maintainers
intltool maintainers
Depends on:
Blocks: 341194
 
 
Reported: 2006-05-23 15:07 UTC by Gary Coady
Modified: 2006-10-31 16:02 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Gary Coady 2006-05-23 15:07:02 UTC
A translation issue in evolution was reported downstream in Ubuntu:
https://launchpad.net/distros/ubuntu/+source/evolution/+bug/43785

The problem appears to be that intltool-merge does not unescape entities in the XML UI description files used by evolution (not glade).


BTW, I'd be willing to work on a patch to integrate XML::Parser properly, if that's of interest, to get rid of the current "tag-soup" parser.
Comment 1 Danilo Segan 2006-07-18 09:43:28 UTC
Only some versions of intltool actually escaped entities (like 0.30, 0.31; 0.27 didn't, nor did any of the later versions), and that broke a whole bunch of other things.  There are legitimate reasons we don't want to do the escaping (eg. including Pango markup in messages).

The bug you mention is apparently a problem with Evolution source code, not intltool, since intltool specifically has the tests available for this particular case to check that what it extracts, it is able to merge as well.

Btw, what are the problems you see with current XML::Parser integration in intltool? And what do you propose to do to fix that?

("tag-soup" parser was there pre-0.30, we've been working with tree generated using XML::Parser since then)
Comment 2 Danilo Segan 2006-07-18 10:16:18 UTC
See also http://mail.gnome.org/archives/desktop-devel-list/2004-June/msg00388.html for announcement of the change, including a reference to bug #130802.

(btw, 0.31 had "correct" behaviour again, and releases 0.28, 0.29 and 0.30 were "broken")
Comment 3 Danilo Segan 2006-10-31 16:02:00 UTC
Anyway, I am rejecting this. The bug is in Evolution data handling (see bug #341194), though probably coming out of some bugs in intltool in earlier releases (anything after 0.27.2 and before 0.30 I think).