Search the web
Sign In
New User? Sign Up
xml-rpc · XML-RPC Discussion
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Which base64 spec?   Message List  
Reply | Forward Message #6653 of 6839 |
Re: [xml-rpc] Which base64 spec?

We frequently get into the "what is the nature of a standard"
discussion here. I don't think most people really care whether an
XML-RPC implementation is correct; they just want it to work, and that
means it speaks the same XML-RPC as its potential partners, not that
it speaks the XML-RPC described in some document. There is a big
enough base of existing XML-RPC implementations that changing
documents isn't going to affect much.

It would be nice to have a document that describes what "everyone does,"
but this mailing list does almost as well, and

http://effbot.org/zone/xmlrpc-errata.htm

does a good job too. Note that the latter clearly says you can split
base64 lines if you want.

I believe that essentially all XML-RPC implementations use MIME-style
(RFC 2045) base64 encoding -- i.e. with line breaks. And it makes
sense, considering that one of the goals of representing all this
information in XML-RPC is to make it human readable.

John's discovery that even Redstone attempts to implement base64 with
whitespace leaves us with essentially an uncontested rule that base64
can have line breaks.

--
Bryan Henderson San Jose, California



Sat Jul 14, 2007 6:01 pm

giraffedata
Offline Offline
Send Email Send Email

Forward
Message #6653 of 6839 |
Expand Messages Author Sort by Date

Is it correct, or at least permissible, for implementations to embed newlines in the wire representation of base64 data? The xmlrpc spec doesn't say. It just...
slinkp23
Offline Send Email
Jul 13, 2007
10:32 pm

Well, there are in fact a lot of quirks in the spec. In the past it stated that string data had to be ASCII and could be used to encode binary stuff, and this...
Gaetano Giunta
gaetanogiunt...
Offline Send Email
Jul 14, 2007
8:59 am

We frequently get into the "what is the nature of a standard" discussion here. I don't think most people really care whether an XML-RPC implementation is...
bryanh@...
giraffedata
Offline Send Email
Jul 14, 2007
6:44 pm

... Well, it apparently melted slightly in 2003 ;-) I don't see how a couple of words to clarify that nearly everyone is already doing base64 correctly would...
slinkp23
Offline Send Email
Jul 16, 2007
3:25 pm

... I have just looked at the Redstone Bas64 decoder and it's obviously broken. The code correctly ignores whitespace characters but then complains that the...
John Wilson
tug123uk
Offline Send Email
Jul 14, 2007
12:25 pm

... Thanks John, I have filed a bug report at https://sourceforge.net/tracker/?func=detail&atid=383547&aid=1753822&group_id=25164...
slinkp23
Offline Send Email
Jul 16, 2007
3:10 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help