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 597216 - Rewritten xml2po processing
Rewritten xml2po processing
Status: RESOLVED WONTFIX
Product: gnome-doc-utils
Classification: Deprecated
Component: xml2po
CVS HEAD
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-doc-utils maintainers
Danilo Segan
gnome[unmaintained]
Depends on:
Blocks: 514480 595245
 
 
Reported: 2009-10-03 15:39 UTC by Claude Paroz
Modified: 2020-03-03 18:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Rewritten xml2po processing (36.87 KB, patch)
2009-10-03 15:39 UTC, Claude Paroz
none Details | Review

Description Claude Paroz 2009-10-03 15:39:21 UTC
Created attachment 144672 [details] [review]
Rewritten xml2po processing

Here is a partial rewrite of xml processing of xml2po.

The goal of this rewrite has been to simplify xml processing. doSerialize has
been replaced by traverse_tree, a slightly more elaborated method but which
uses recursion at his best, so as to limit ancillary methods. Comments are
preserved in output, and tests have been updated accordingly.
There are some minor non compatible changes regarding 'placeholder' usage,
which
should occur slightly less often. Handling of CDATA and pi nodes have been
added to the Docbook test.
Comment 1 Danilo Segan 2009-10-19 09:37:11 UTC
With the quick look, it seems you are seriously changing the behaviour of placeholder replacements. I'll take a deeper look later today.

Note that I've started some rewriting myself, but it's far from complete so far. I'll also be moving xml2po out of gnome-doc-utils soon.
Comment 2 Danilo Segan 2009-10-19 09:40:29 UTC
Also, please split out docbook mode changes out of this patch so it can be judged on it's own merit (i.e. "phrase" introduction and such).
Comment 3 Claude Paroz 2009-10-19 18:11:29 UTC
I'm glad to know you still have time and interest in xml2po. Great!
Now about the split, it makes no sense because the changes in modes are related to the XML processing changes.
Feel free to poke me on IRC if you need further explanations.
Comment 4 André Klapper 2020-03-03 18:36:25 UTC
gnome-doc-utils has been superseded by yelp-xsl, yelp-tools, and itstool.

gnome-doc-utils will not see any further development, hence closing as WONTFIX.

See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/255