The Shape of Everything
A website mostly about Mac stuff, written by August "Gus" Mueller
» Acorn
» Retrobatch
» Mastodon
» Micro.blog
» Instagram
» Github
» Maybe Pizza?
» Archives
» Feed
» Micro feed
November 25, 2005
(This post is from my old, old, super old site. My views have changed over the years, hopefully my writing has improved, and there is now more than a handful of folks reading my site. Enjoy.)

Friday, November 25th, 2005

I've been slacking off lately with the apple friday bug thing, but I hope to make it up today by reporting 3 bugs. And they all have to do xml-rpc.

radar #4354671- The xmlrpc libraries are returning null values in place of empty strings.

That one kind of hurt. I've got a workaround for it, but it wasted more time than I wanted to figure out. Sample test: XMLRPCEmptyStringBug.m

radar #4354677- The xmlrpc libraries are not parsing valid xml correctly.

This one really hurts, and there's no workaround. If the server side decides it wants encode ">" as "&#62;" instead of "&gt;", that's perfectly valid xml. Except, the xmlrpc libs in osx decided that that's not cool, and places "<<Unknown Escape>>" where the > should be. Test file here: XMLRPCDoesNotHandleValidXML.m.

radar #4354679- The xmlrpc libraries needlessly escape the quote character.

The xmlrpc libraries, when sending strings with the quote character (") in them, escape the character to &quot;. This is completely pointless, and a waste of bandwidth. It's not a huge deal, but it's annoying.

Sample file: XMLQuotesEscaped.m

-- posted 4:54 pm