Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: decoding base64 data on client/browser? [Thread Next] Re: decoding base64 data on client/browser?To: NULL Date: 3/6/2006 9:13:00 PM "Brandon" <Brandon@d...> wrote in message news:3D2FD92B-27A9-433E-8A31-8AA66162080A@m...... > Does this mean you have no information that can help with the issue actually > at hand? Or, are you suggesting that I don't base64 encode the file before > sending it, and just send the binary file "as is?" The reason is, an XML > field cannot contain bindary data. You have to assume that a binary > combination will occur that will cause the XML to appear malformed. > > Thanks Peter! Please let me know if you have any suggestions. > > -b > > "Peter Flynn" wrote: > > > Brandon wrote: > > > My browser app sends a request to the server for a binary file. The server > > > receives the request, converts the file to base64, packages it up in XML, and > > > returns it to the client/browser. > > > > Is there a reason for doing this? Why not just send the binary file as-is? > > > > ///Peter > > -- > > XML FAQ: http://xml.silmaril.ie/ > > Brandon, Is there a reason why the responseStream property is not useful to you? I guess the question is, is there other XML markup in the response (and a good reason not to perform an additional roundtrip to the server) that requires you to embed the binary as base64? I'd like to help but if you treat people who are trying to help like you treated Peter not sure I'm not so sure many would be inclined. Anthony. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
