[glibmm/glibmm-2-34] docextract_to_xml.py: Replace : with ':' in generated XML files.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm/glibmm-2-34] docextract_to_xml.py: Replace : with ':' in generated XML files.
- Date: Mon, 5 Nov 2012 05:58:05 +0000 (UTC)
commit 9e783097699ccc1324c78ab53f695d89242dc26c
Author: Josà Alburquerque <jaalburqu svn gnome org>
Date: Sun Nov 4 10:53:28 2012 -0500
docextract_to_xml.py: Replace : with ':' in generated XML files.
* tools/defs_gen/docextract_to_xml.py: Otherwise gmmproc reports
errors if this entity is encountered when trying to parse the XML
documentation.
ChangeLog | 8 ++++++++
tools/defs_gen/docextract_to_xml.py | 1 +
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e0c9755..e8b1469 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-11-04 Josà Alburquerque <jaalburquerque gmail com>
+
+ docextract_to_xml.py: Replace : with ':' in generated XML files.
+
+ * tools/defs_gen/docextract_to_xml.py: Otherwise gmmproc reports
+ errors if this entity is encountered when trying to parse the XML
+ documentation.
+
2012-11-01 Kjell Ahlstedt <kjell ahlstedt bredband net>
gmmproc: Improve the documentation of properties.
diff --git a/tools/defs_gen/docextract_to_xml.py b/tools/defs_gen/docextract_to_xml.py
index edc2f36..d77ad6e 100755
--- a/tools/defs_gen/docextract_to_xml.py
+++ b/tools/defs_gen/docextract_to_xml.py
@@ -34,6 +34,7 @@ def escape_text(unescaped_text):
escaped_text = string.replace(escaped_text, '*', '*')
escaped_text = string.replace(escaped_text, '%', '%')
escaped_text = string.replace(escaped_text, '@', '@')
+ escaped_text = string.replace(escaped_text, ':', ':')
escaped_text = string.replace(escaped_text, '#', '#')
escaped_text = string.replace(escaped_text, ' ', ' ')
escaped_text = string.replace(escaped_text, '&solidus;', '/')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]