[open-ils-commits] r10570 - trunk/build/i18n/scripts
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Sep 9 22:58:14 EDT 2008
Author: dbs
Date: 2008-09-09 22:58:12 -0400 (Tue, 09 Sep 2008)
New Revision: 10570
Modified:
trunk/build/i18n/scripts/fieldmapper.py
Log:
Escape CDATA before adding it to our entityized XML file
(fixes a bug with <> in oils_persist:source_definition for iatc)
Modified: trunk/build/i18n/scripts/fieldmapper.py
===================================================================
--- trunk/build/i18n/scripts/fieldmapper.py 2008-09-09 20:05:27 UTC (rev 10569)
+++ trunk/build/i18n/scripts/fieldmapper.py 2008-09-10 02:58:12 UTC (rev 10570)
@@ -137,7 +137,7 @@
"""
Shove character data into the entityized IDL file
"""
- self.entityized = self.entityized + content
+ self.entityized = self.entityized + xml.sax.saxutils.escape(content)
def endElement(self, name):
"""
More information about the open-ils-commits
mailing list