Monday, November 08, 2010 at 12:06 AM.
system.verbs.builtins.tcp.im.builtinDrivers.jabber.code.xmlAlphaDecode
on xmlAlphaDecode (s) {
<<Changes
<<5/16/02; 1:30:39 AM by JB
<<Created. Execute this: (CTRL-/)
<<xml.entityDecode(""", true)
<<It *should* produce "":", but due to a bug, it does not. It produces "\"". This kills the RPC encoding, which needs to have that work.
s = string.replaceall (s, "<", "<");
s = string.replaceall (s, ">", ">");
s = string.replaceall (s, """, "\"");
s = string.replaceall (s, "'", "'" );
s = string.replaceall (s, "&", "&");
return s}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.