Ed, the following diff to xmltodict removes the problem I was having in the Report Designer, and it will presumably solve tracker 0147 too. But you were the one that added this in 1808 (January) so I wanted to run it past you first. Looking at the code, I'm not sure why we'd ever want to replace occurances of "//" with "////".

[EMAIL PROTECTED]:~/projects/dabo$ svn diff
Index: dabo/lib/xmltodict.py
===================================================================
--- dabo/lib/xmltodict.py       (revision 2169)
+++ dabo/lib/xmltodict.py       (working copy)
@@ -165,7 +165,8 @@
        else:
                qt = '"'
        slsh = "\\"
- val = val.replace("<", "&lt;").replace(">", "&gt;").replace(slsh, slsh+slsh) +# val = val.replace("<", "&lt;").replace(">", "&gt;").replace(slsh, slsh+slsh)
+       val = val.replace("<", "&lt;").replace(">", "&gt;")
        if not noEscape:
                # First escape internal ampersands:
                val = val.replace("&", "&amp;")

--
Paul McNett
http://paulmcnett.com
http://dabodev.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to